Click here to Skip to main content
15,887,444 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hello everybody i have a html form with a table on it in that table i have a bottom for addrow in my table, i need to add a submit bottom to posting the data of table inside mysql when i add it there is one action for my two bottom ... So how can i change it ?
thank you very much.
Posted
Comments
Naz_Firdouse 7-Jan-14 8:50am    
could you please elaborate your question?
Mashti 7-Jan-14 12:46pm    
ok i have three buttons = one button is for addrow in a table another button is for deleteing row in a table and number 3 button is submit button for posting the data in the table.
i need to do it.
my problem is i cant define diferent action for that buttons.
thank you very much for you time.
Hi Mashti,

I guess you have rejected my answer by mistake as I can see you accepted it few hours back.
In that case, please accept the answer.

Thanks,
Tadit

1 solution

I guess you meant Button.

So, coming to your problem, if you set input type="submit", then that will act as Submit Button and will submit all the data to the action specified.

You can set type="button" for other Buttons to work as normal Button.
 
Share this answer
 

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