/ Published in: JavaScript
#modal would be the bodyID of your modal window. I use jqmodal so it strips out all the header tags, and takes your body ID and turns it into a div.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$().ready(function() { /* use livequery to bind events to stuff that wont see the dom */ $("#modal").livequery(function() { /* do your business here */ }); });