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

Ця відповідь Вам допомогла?

 Роздрукувати цю статтю

Також прочитайте

How do I stop /tmp directory hacks?

Posted by tnedator, 06-19-2008, 04:03 PMI'm on a Cpanel/WHM (latest release version) VPS with...

A rather strange PHP error

Posted by StueyB, 01-10-2008, 06:48 AMHi Everyone, I'm hoping someone can help me here as I...

setting time zone to GMT

Posted by WebHostingNeeds, 06-26-2008, 06:27 AMHi, When i try setting time zone to GMT, it do...

Whats the best for server with SATA raid 1 and SCSI raid 10

Posted by zefefre, 01-14-2008, 12:42 AMSo I've just got a server with 2xSATA raid 1 (OS, cpanel...

Help me in this!

Posted by rathin, 03-28-2008, 02:19 PMHelp needed in redirection of certain browser,I haveing...