[thelist] Forms with single text inputs and HTML spec - Help?
Sarah Adams
sarahwbs at gmail.com
Thu Mar 26 09:07:38 CDT 2009
>> I'm trying to do an AJAX form submission of a form with "only one
>> single-line text input field" and no matter what I do, when I hit the
>> ENTER button in major browsers, the form is submitted as a GET request
>> with a query string.
> I simply added onsubmit="javascript:return false;" to the form tag
>
> This worked, but it still seems kind of stinky. :/
How did this make your form submit as POST instead of GET?
--
sarah adams
my son: http://clarkeadams.com
twitter: http://twitter.com/sarahwbs
portfolio: http://sarah.designshift.com
More information about the thelist
mailing list