i have a made a custom control. which has text box and drop down . text box has the value and drop down has a units if you change the units the value will change accordingly . the problem i am facing is, when i change the units the value changes but when i inspect the field in firebug the value of the text box is still the old value. hope i am clear and thanks for the suggestions.
on 2010-01-22 19:11
on 2010-01-22 19:16
Firebug lies sometimes and that might be the issue. Did you try to check the value using JS console ? Regards, KK 2010/1/22 Mayur Shivakumar <email@example.com>:
on 2010-01-22 19:23
ok i tried this when i alert($('unit_text_box').value) it shows the new value . but right in the next line when i say $('unit_text_box').value and try to use it in a if condition, it evaluates to the old value rather than new value as shown in the alert.