javascript - How to get form-field values on html-file where form was send -



javascript - How to get form-field values on html-file where form was send -

i have html-file containing form (start.html). submitting it, navigates different html-form (result.html).

how date-entries in result.html done in textfields of form in start.html?

something like:

$(document).ready(function () { var fww = 'what value fieldsindex.html?'; $('#div1').html(fww); }); </script> </head> <body> <div id="div1"> </div>

any solution jquery or javascript appreciated. thanks

you can form info using form elements id shown below, can not transfer info 1 form other form using js only, should utilize backend controller

form.html

<input type="text" id="formelement">

js

$("formelement").val();

javascript jquery

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -