+ 4
Please what's wrong with these code? Its not working properly. I want to accept input from the user and the write it to the scre
3 Answers
+ 4
There are just a couple things wrong -
First, in your HTML, you seem to have forgotten the () following the function name in the onclick event for the second input element. Not having it won't allow your function to run, so adding those in allow it to do so.
Within your JavaScript, you made the same mistake when declaring the function doc so just changing it to doc() should work.
Lastly, you misspelled "escape" on line 2 in your JS, so fixing that up allows your program to run properly
+ 3
Thank you Faisal its now working wellđđ
Thank you allđđ
0
This code must be executed in server platform, in order to save data added in the form and initiate the button