Skip to navigation
Workaround for w3c conforn _blank target link
07.12.13
Reply
Anonymous
with jquery replace the href attribute and add a onlick attribute $(".my_link_class").each(function(i) { var url = $(this).attr('href'); $(this).attr('href',"#javascript"); $(this).attr('onclick',"window.open('"+ url +"', '_blank');"); })
07.12.13
http://api.jquery.com/each/
Reply
Anonymous
Information Epoch 1736518349
Clarity is better than cleverness.
Home
Notebook
Contact us