I have form name as myForm with two elements dropdown and autocomplete() textbox. If an end-user selects the value on the dropdown and give a suggestions on the autocomplete (tokens) and click an apply button to get the search results matching our inputs.
My Screen Input : HTML Screen
My problem here is to retain the form values after submitting the form through jquery. My code is here:
$("#myForm").submit(function(){
$('#myForm').attr("method","post");
$('#myForm').attr('action','http://localhost:8080/LscaSearch/');
$('#myForm').submit();
});
I wanted to retain the form values after submit the form. Any help on this?