0

Hi Friend,
I have a Jquery Validation code in which I have written

element.focus();

When I view that page into other browser I able to modify that previous Field if I was left next field blank or wrong input.

but in chrome i wont able to do so..!

Can you please explain the reason behind this?


Thanks in Advanced...!

Edited by akvlko: n/a

2
Contributors
3
Replies
4
Views
7 Years
Discussion Span
Last Post by akvlko
0

Failure of element.focus() is a known bug in Chrome. I have not been able to identify a workaround.

Airshow

0

To overcome failure of window.focus() in Chrome, it is reported that window.blur(); window.focus(); works.

You could try element.blur(); element.focus(); .

Would be interested to know if it works.

Airshow

0

nah it wont works...

but i have resolved my issue by deleting all the blur events.

Now I call the function onto the keyup and form.submit events.

Thanks a lot you people.....!

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.