Scrollbar for Text Area not working in 9000 simulator web browser
Please Login to Remove!
Hi,
I have the following Javascript code in my web application. I am tring to implement a scroll bar for a text area. I am using an Overflow style for scrolling. But it is not working in BB 9000 web browser. I am getting a plain text area without any scroll.It works fine in IE and firefox.
Please note: I have enabled the Javascript in the 9000 Web browser options.
function scroll()
{
var inputElement= document.createElement("textarea");
inputElement.setAttribute("id",caption+"ImText");
textAreaID =caption+"ImText";
inputElement.setAttribute("size","30");
inputElement.setAttribute("rows","3");
inputElement.setAttribute("cols","10");
inputElement.style.cssText= "width: 485px; height: 30px; overflow: scroll;font-weight: bold;font-family: Verdana; font-size: 12px; color:#FFFFFF ;background-color:#585858;";
div = document.createElement("div");
div.appendChild(inputElement);
}
Kindly let me know how to overcome this issue.Any alternative for this?
Thanks,
Harish.
|