$('#get .ad_class').click(function() { $('#display').load('myasp.aspx?ad_id=' + $(this).id); return false; });