+ 1
what js should i use to save a html form offline
7 Respostas
+ 8
<form action="https://www.google.com/search" method="get">
<input type="text" name="q" value="test">
<input type="hidden" name="spam" value="spam">
</form>
On Submit this form becomes :
https://www.google.com/search?q=test&spam=spam
+ 6
"Save the input offline on my pc"? You might as well go download XAMPP, configure your own web server, study some PHP and input data will be in your database.
What Lentin wants you to do is, you basically do <form method=GET> so the data gets URL encoded. The regexp may be complicated but this is probably not the way you want.
+ 5
when form gets submitted its contents get URLEncoded, just do that manually with RegEx and export URL…
+ 1
i want to make an offline html form that can save the input offline on my pc
+ 1
thanks guys for your help
0
question unclear....more plzz 😉
0
Why don't you use any server side script like php, asp or jsp, that's easier or use file handling of Javascript