Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jQuery(document).ready(function() {
- jQuery('a.postpopup').on('click', function(){
- id = jQuery(this).attr('rel');
- jQuery('<div id="ajax-popup"></div>').hide().appendTo('body').load('http://mysite.com/ajax-handler/?id='+id).modal();
- return false;
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement