Click here to Skip to main content
15,921,884 members
Please Sign up or sign in to vote.
1.40/5 (2 votes)
See more:
HI,


I tried with link button for checking whether the username is already exist or not.
But the link button is redirecting to another page.

Can anybody help me out
Posted
Comments
Mohibur Rashid 27-May-13 20:48pm    
you must have to elaborate more to explain your problem.....................

1 solution

Hii..
Look at this,It might help.

Make your form onsubmit to return false and call repective function on button on click.

XML
<form id="" onsubmit="return false;" width="">
<input type="submit" value="checkUser" onclick="yourFunction()">
</form>


Or if are using a hyperlink

<a href="javascript:void(0);" class="" name="chkUser" value="checkuser" onclick="yourFunction()">Log in</a>
 
Share this answer
 
Comments
PRAKASH_N 28-May-13 5:03am    
thank u

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900