I recently integrated a JavaScript scroll framework to create a stylish scrollbar for windows. I simply added it to a div:
this.displayDiv = function () {
$("#myDiv").niceScroll();
}
<a href="#" onclick="manager.displayDiv();">
It worked perfectly on my mobile device (HTML5 app). However, when I try to call it from a form window with an input text field, it displays fine initially. But if I touch the input text field and trigger the focus effect, and then try to start the scroll again, it doesn't work anymore. I'm baffled...what could be causing this issue?