Re: how to update text fields using ajax on making any change in master text field

2008-02-24 Thread Jeromy Evans
Yes, I'd still use the same technique. If you don't need to use ajax, then just do a normal submit and render a new page doing all the processing on the server side. If you do want to use ajax though, it's not much effort for the javascript callback to include a for loop that updates multiple

Re: how to update text fields using ajax on making any change in master text field

2008-02-24 Thread Prashant Khanal
Do you mean to catch the response from server using javascript and update the textfields using javascript? The solution seems to be appropriate under circumstances when we have few fixed number of textfields. How about the condition when those text fields are the part of the row of a table and we

Re: how to update text fields using ajax on making any change in master text field

2008-02-24 Thread Jeromy Evans
Dibesh Shakya wrote: Hello all, I have 3 text fields say A, B and C out of which A is a master text field whose value is distributed between remaining text fields. My requirement is if i give value say 20 to field say A then an action is called which will distribute the values between other text