what is the difference between input type button and input type submit and if form is submitted then where the data is stored ,e.g.if there is a registration form design on javascript.does input type button can submit a form to server
moreover if we apply validations using javascript and then submit form,if form contains some validation errors(if any textbox is empty),does that information submitted to server or not?
umair mohsinPosted Mar 4, 2015, 12:46 PM
i have no idea about what is server? if we are working with html,css and javascript
could you please tell me what is server with respect to this plateform.the message rapidly disappers.i don't understand what is gonig on.
umair mohsinPosted Mar 4, 2015, 12:35 PM
Anil KumarPosted Mar 4, 2015, 10:05 AM
Q - if there is a registration form design on javascript.does input type button can submit a form to server
Ans - By default it will not submit the form but you can custom build it to send the form to the server
Q -
Ans - By default it will not check it, but if you want to do it, you'll have to create methods that check the user input. you can do it like
Please mark the solution as Accepted if it solves the purpose