mmriceiu 01:26:11 | Hi all, My requirement is to change value of different field entering data in a field. In the left side have a text field and a div in the right side. When user type anything in the text box, it have to show in the right side side. I have tried it by javascript onkeypress method. But problem is when I press a key it shows nothing, when I press second key it shows the first key I input. When I have clicked outside of the textbox it shows the correct result in the div. My requirement is, when I type anything in the keyboard, it have to show both in the text box and in the div. Please send the solution as early as possible. Thanks all. |
smo1234 02-03-2011 | Try onkeyup event ( in place of onkeypress ) |
mmriceiu 08-12-2011 | Thanks for your valuable suggestion. |