Return to Snippet

Revision: 24908
at March 15, 2010 15:04 by koetz


Updated Code
<script type="text/javascript">
// document ready
$(document).ready(function(){

        //change the target attribute to open in different tab
        //on the class texto, selector a
	$(".texto a").attr('target', '_blank');
});

// @authors Lucas Koetz & Andre Luis
// @country Brazil

</script>

Revision: 24907
at March 15, 2010 15:03 by koetz


Updated Code
<script type="text/javascript">
// document ready
$(document).ready(function(){

        //change the target attribute to open in different tab
        //on the class texto, selector a
	$(".texto a").attr('target', '_blank');
});
</script>
# @authors Lucas Koetz & André Luis
# @country Brazil

Revision: 24906
at March 15, 2010 15:03 by koetz


Updated Code
<script type="text/javascript">
// document ready
$(document).ready(function(){

        //change the target attribute to open in different tab
        //on the class texto, selector a
	$(".texto a").attr('target', '_blank');
});
</script>
# @authors Lucas Koetz & André Luis
# $country Brazil

Revision: 24905
at March 15, 2010 14:57 by koetz


Initial Code
<script type="text/javascript">
// document ready
$(document).ready(function(){

        //change the target attribute to open in different tab
        //on the class texto, selector a
	$(".texto a").attr('target', '_blank');
});
</script>

Initial URL

                                

Initial Description

                                

Initial Title
Changing link attribute by jquery

Initial Tags
javascript, jquery

Initial Language
jQuery