jquery loop links -


i have php-loop generates different results database, output might this:

<a href="blablabla">blabla</a> <a href="blablabla">blabla</a> <a href="blablabla">blabla</a> <a href="blablabla">blabla</a> <a href="blablabla">blabla</a> <a href="blablabla">blabla</a> 

now, know how clicked element #id or .class don't know (and havent found) how clicked link. (i wont show content of it's link in other div. have solution?

$("a").click(function(e){   e.preventdefault();   $("targetdivselector").load(this.href); }); 

Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -