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

clamscan command

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

Tyan Toledo i3210w (S5211) Question

Posted by chriwong, 03-07-2008, 01:26 PMHello! Does any one try this mainboard? I want to...

date --utc on VPS ?

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

Not receiving some emails

Posted by Kain, 12-20-2007, 07:09 AMI've got a weird one here. A client is not receiving some...

Extension issue

Posted by imad77, 04-20-2009, 10:39 AMHi, I run a Perl/CGI script from a Web page to download...