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
Post a Comment