I want to submit a form to a URL appending few values as the querystring.
I am using this to call;
<form id="form1" method="GET" action="http://abc.appspot.com/_ah/xmpp/message/chat/">
<input type="text" id="data" />
<input type="submit" value="Submit" />
</form>
However, when I click on submit button, the URL that is fired is "http://abc.appspot.com/_ah/xmpp/message/chat/?"
The value of the “data” is not appended. Am I doing something silly here?
Thanks
Only fields which have
nameattribute are submited. This makes sense because how would you access those values without some key in POST of GET. So change your code to