wouldn't the callback happen after the submit() function had executed, so you'd be putting the new values in after the submit?
On Apr 5, 11:10 pm, debussy007 <[email protected]> wrote: > What do you mean by "wrap 'submit()' that is built in 'form object'" ? > Sorry I didn't understand ) > > > > [email protected] wrote: > > > I guess you'd better wrap 'submit()' that is built in 'form object'. > > before the submit() is called, you should set the values. > > > On 4월5일, 오후1시48분, debussy007 <[email protected]> wrote: > >> Hi, > > >> In my submit() callback function, I want to set two new values in some > >> hidden input fields right before the post data is submitted, based on the > >> values the user inputs in some input fields. > >> However it seems already too late, the server will never have those > >> values > >> unfortunately. > > >> So I wonder if there is any way to achieve this. > > >> Thank you for any kind help. > >> -- > >> View this message in > >> context:http://www.nabble.com/submit%28%29-question-tp22896425s27240p22896425... > >> Sent from the jQuery General Discussion mailing list archive at > >> Nabble.com. > > -- > View this message in > context:http://www.nabble.com/submit%28%29-question-tp22896425s27240p22899380... > Sent from the jQuery General Discussion mailing list archive at Nabble.com.

