CMS Development

John1
Member

My Modal page not work

Im folowing

 

The steps in this post 

http://designers.hubspot.com/blog/how-to-implement-a-modal-on-your-cos-site-pages

 

But my modal page does not working. 

0 Upvotes
1 Reply 1
JasonRosa
HubSpot Employee
HubSpot Employee

My Modal page not work

@John1 It looks like the jQuery .live() event handler is deprecated (http://api.jquery.com/live/) as of jQuery version 1.7. Based on jquery's documentation for .live(), it looks like you should be able to get this to work by using .on() instead (http://api.jquery.com/on/) of .live() in the JavaScript file that is attached. 

0 Upvotes