problem when clicking a link

Posted by mohammadi, 11-20-2010, 02:56 AM
Hello, how can I use a link in a form to submit instead of button that there wouldn`t be any error? or or I wrote all ot them and test them but there is error on page.

Posted by fabin, 11-20-2010, 03:29 AM
One of the condition is that when you use submit(), you should not use a submit button. What errors do you get on page?

Posted by Driver01, 11-20-2010, 05:53 AM
You could try using jquery and bind the submit() event inside a click function: HTML you could add a cursor:pointer attribute to the submit id so it shows its a link. Last edited by Driver01; 11-20-2010 at 05:58 AM.

Posted by Mindy, 11-20-2010, 09:52 AM
What is the error message ?

Posted by coderiser, 02-10-2011, 01:48 PM
you should simply submit with the submit button and use the onsubmit="" to trigger an action you would like to occur upon submission such as a validateform(); function

Was this answer helpful?

 Print this Article

Also Read

PHP bug? PHP can't resolve domains, server can..

Posted by Drifter13, 07-23-2007, 10:51 PMHello fellow techs, I'm having a strange problem. My...

Looking for a Shell Script! :)

Posted by dwscenter, 01-14-2008, 01:25 AMFirst off I want to apologize if I posted this in the...

date --utc on VPS ?

Posted by enz0, 06-17-2008, 03:07 PMHi all, I just created a VPS with Empire VPS. I'm...

clamscan command

Posted by persianwhois, 04-21-2009, 05:04 AMCan you please provide a clamscan ssh command for...

/home/ privacy

Posted by Weedy, 04-14-2009, 09:19 AMHow do I keep users from spying on each others files? If I...