SyntaxFix
Write A Post
Hire A Developer
Questions
jQuery(".morepost").live("click", function() { var loadID = jQuery(this).attr('id'); //get the id alert(loadID); });
you can also get the value of id using .attr()