[jQuery] Re: Change form action based on button clicked

2009-06-12 Thread Glazz
View this page http://www.komodomedia.com/blog/2008/07/using-jquery-to-save-form-details/ On 12 Jun, 15:25, ciupaz luigi.zambe...@gmail.com wrote: Hi all, I have a form like this: form id=my_form method=post action=     Name: br /     input type=text id=name name=name /     input

[jQuery] Re: Change form action based on button clicked

2009-06-12 Thread Michael Lawson
function go(button) { $(#my_form).attr(action,button.value); } and then in your button tag add this onclick='go(this)' cheers Michael Lawson Development Lead, Global Solutions, ibm.com Phone: 1-276-206-8393 E-mail: mjlaw...@us.ibm.com 'Examine my teachings critically, as a gold assayer

[jQuery] Re: Change form action based on button clicked

2009-06-12 Thread ciupaz
Thanks, it's work, and how can I recover the input text value, without using the querystring? Luis

[jQuery] Re: Change form action based on button clicked

2009-06-12 Thread Glazz
Cookies?! See the link i've posted above! On 12 Jun, 15:48, ciupaz luigi.zambe...@gmail.com wrote: Thanks, it's work, and how can I recover the input text value, without using the querystring? Luis