Вопрос

An outsourcer implemented jScrollPane on our project some time ago and I discovered its preventing me from setting focus on form text inputs inside it. If I remove jScrollPane I can easily set focus with:

$("#myField").focus();

I've been through jScrollPane for some time this afternoon but I can't find the cause of the problem.

Это было полезно?

Решение

Thanks @anurupr, you solved it for me. You made me realize jScrollPane was not being called from the Javascript file. I found the call in the main php file and was then able to set the focus after jScrollPane which fixed it.

I've answered my own question in order to mark this thread as answered.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top