I want to change some text in a text box on the change of another text box. I know it can be done using ontextchanged
event. But my requirement is that for example. Lets take an example of converting meter to KM.
- When I type 1000 in a text box without leaving that text box I need to have the value as 1 KM in other.
- Now, I change 1000m to 3000m (without having the
ontextchanged
event fired up) and I should see 3 KM in the other text box.
In short I don't want the text box to be posted back. I know this can be done in Windows project but how it can be done in asp.net (web based). Is there any JavaScript or jQuery?
Please Help. Thanks in advance.