Returning focus after executing a function in IE5

I'll just answer the first question ... Why IE5 are you wondering because it's on a Windows CE device I'm working with, so I'm limited to using IE5. The app I created uses a webpage with multiple elements.

I have 2 textboxes or <input type="text" />

and 1 <textarea></textarea>

, I am transferring data from textbox 2 to textbox. This works great, but I have one small problem. I want the focus to return to textbox 2 when the function has been executed, so I can add more data to the textbox.

Can someone explain or show me a way how I can do this?

https://jsfiddle.net/2quwap6L/2/

I put my code in a fiddle because I think it will be easier.

+3


source to share





All Articles