i want to capture input variables sent via form from one page to another.html page and obtain these values as JavaScript variables. Can this be done.
This is my form;
<form action='another.html' id='form' data-ajax='false'>
<input id='sent_by' value='tom'/>
<input type='submit' value='Submit'/>
</form>
And in my another.html i tried to get the values as;
var sent_by = $.session.get("sent_by");
But i am not able to get the values. All help is appreciated.
$.session.getfrom? That's not a part of jQuery or jQuery Mobile as far as I know.another.html?sent_by=tom&submit=Submit). This question's answers tell you how to get them. Is that what you're asking?another.html?