Advertisement
Guest User

Untitled

a guest
Apr 7th, 2012
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. jQuery(document).ready(function() {
  2. jQuery('a.postpopup').on('click', function(){
  3. id = jQuery(this).attr('rel');
  4. jQuery('<div id="ajax-popup"></div>').hide().appendTo('body').load('http://mysite.com/ajax-handler/?id='+id).modal();
  5. return false;
  6. });
  7. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement