2009
11.20

Target attribute used inside link tag turns the page contnent into a non w3c valid. (For strict and transitional DOCTYPE). There is as simply way to add it with javascript.

Using jQuery

<javascript>
  $("#somewhere a").attr("target","_blank")
</javascript>
 
<div id="somewhere">
 <a href="http://go.away">please</a>
</div>

Comments are closed.

ENVATO FLASH STOCK ENVATO THEME FOREST

CBDB.cz - moje knihy