Forum Moderators: open
I have a html form with some 2-3 input fields.
After providing the input on all the fields i am triggering a submit to the next form.
Note: submit is not the html submit btn. I have put one logic, using that when i am pressing a key-1 of my keyboard this submit is happening.
Problem: When i submit this form with pressing the key-1, the data of last input field is not going with the reuqest, and can't be read in next form, as input field is not loosing the focus.
I want to remove the focus from the last input field.
Can any one help me here.
I had tried document.activeElement.blur(), but it is IE specific and I am loking for a generic solution.
Thanks & Regards,
Satya.