i am using this code in one of my .php file:
<a href="thanks.ph p" onclick = "return registerUser(){ return false;}"> <input type="button" name="userText" value="Submit" id="memberRegis teration" /> </a>
i am facing 2 problems here:
1) button is not shown as hyper link when mouse is hovered over it?
2) even when i am explicitely returning false on onclick function call, it goes to thanks.php page?
thanks,
Rahul
<a href="thanks.ph p" onclick = "return registerUser(){ return false;}"> <input type="button" name="userText" value="Submit" id="memberRegis teration" /> </a>
i am facing 2 problems here:
1) button is not shown as hyper link when mouse is hovered over it?
2) even when i am explicitely returning false on onclick function call, it goes to thanks.php page?
thanks,
Rahul
Comment