when clicking href tag don't want to go to top of page

by Jayanthi 2013-01-30 12:42:58

when clicking href tag don't want to go to top of page

Method1:
href tag

a href='#' class='nolink'


Function


$('.nolink').click( function(e) {
e.preventDefault();

});


Method2:


href tag

a href='gopage.php' onclick='return false'

Tagged in:

921
like
0
dislike
0
mail
flag

You must LOGIN to add comments