Thanks for the ideas. Looks like it's not supported, which might be a symptom of bad design on my part.
I just have lots of different actions, having a form for each one seemed messy. Maybe a suitable workaround would be to have a hidden form on the page, attach input elements to it as I need them, then finally call .submit on the form.... On Aug 12, 4:09 pm, Liam Potter <radioactiv...@gmail.com> wrote: > He's not using a form at all in this, I don't know why. > > Michael Price wrote: > > Is there any particular reason you HAVE to use Javascript to handle the form > > submission? If you want to redirect the user to another page after the form > > submission you may as well submit the form the normal way and use a server > > side redirect to send them on to the next page. > > > Failing that, you could make your form processing script return the next > > page in it's response, parse for this and then use it - is that feasible? > > > SUBMIT FORM > > PARSE RESPONSE WHICH WILL CONTAIN NEW PAGE URL IN IT > > > window.location = newPage; > > > Regards, > > Michael Price > > > -----Original Message----- > > From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On > > Behalf Of Mark Smith > > Sent: 12 August 2009 16:02 > > To: jQuery (English) > > Subject: [jQuery] Re: How to POST using jQuery? > > > But then the page that gets served to the user with have no parameters > > posted to it. > > > On Aug 12, 3:50 pm, Liam Potter <radioactiv...@gmail.com> wrote: > > >> well, on the post callback, forward the browser to the page? > > >> window.location="/page.php" > > >> Mark Smith wrote: > > >>> Hi, > > >>> I know you can use jquery to post data from a json object ajaxly. > > >>> However I want to redirect the browser to the new page (like > >>> submitting a form) only passing the values explicitly from javascript > >>> rather than actually submitting a form. > > >>> Is this possible using jquery? > > >>> Thanks > >