| 0 comments ]

This is a simple but very powerful script which will prove the jQuery library's ability. The following script will make all the hyperlinks in the page bolder and add opens the link in new window if clicked.

<script src="../_scripts/jquery-1[1].3.2.js" type="text/javascript"></script>
<script language="javascript">
$(function() {
$('A').css('font-weight', 'bold').attr('target', '_blank');
});
</script>

0 comments

Post a Comment