[jQuery] Re: UI dialog uses old data

2010-01-18 Thread Lestat
I'm assuming you are submitting via $.ajax() .post. I ran into this same problem, even using dialog('destroy'). What I found is, you do destory the dialog, yet the form seems to remain in memory resulting in two of the same forms submitting. I spent 3 days trying to figure this out but here is the

[jQuery] Re: UI dialog uses old data

2009-12-14 Thread ebru...@gmail.com
Then i think the problem is unique fields. Thanks for your reply! On 14 dec, 14:47, MorningZ wrote: > > "For some reason he rembers the old data" > > It's not remembering anything, it's simply reading the values > again...  after you do your save/edit/whatever, use ".val()" and other > things th

[jQuery] Re: UI dialog uses old data

2009-12-14 Thread MorningZ
> "For some reason he rembers the old data" It's not remembering anything, it's simply reading the values again... after you do your save/edit/whatever, use ".val()" and other things that set form field values and clear out what is there