How to submit input form properly in javascript? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to submit input form properly in javascript?

Could anyone give an example for a form that submits user input to server. alternatively being able to submit to offline network, database or offline server?

3rd Dec 2016, 10:50 PM
Vincent Kordiak
Vincent Kordiak - avatar
2 Answers
+ 1
check the PHP -> POST. If you have database it will be easy to setup. JS is client side, PHP is server side
4th Dec 2016, 8:45 PM
Robert Kopydłowski
Robert Kopydłowski - avatar
+ 1
other then php and js are there any client/server side languages??
5th Dec 2016, 6:33 PM
Vincent Kordiak
Vincent Kordiak - avatar