Hi,
I am actually attempting to develop a widget, where I am using a console for users to enter text, and receive a response. I am using a TEXTAREA HTML object for the main console, but I am having trouble with the scrolling. In most browsers, you can force the scroll position to the end of the textarea with this code:
but this doesn't work in Safari or dashboard. I don't get any javacsript errors or warnings, either. Interestingly, it does appear to work with WebKit.
Developing a widget has so far been a VERY frustrating experience, and I have found that Safari's support for javascript leaves much to be desired, and can be very quirky, especially compared to Firefox.
I am actually attempting to develop a widget, where I am using a console for users to enter text, and receive a response. I am using a TEXTAREA HTML object for the main console, but I am having trouble with the scrolling. In most browsers, you can force the scroll position to the end of the textarea with this code:
Code:
textareaelem = document.getElementById('mytextarea');
textareaelem.scrollTop = textareaelem.scrollHeight;
but this doesn't work in Safari or dashboard. I don't get any javacsript errors or warnings, either. Interestingly, it does appear to work with WebKit.
Developing a widget has so far been a VERY frustrating experience, and I have found that Safari's support for javascript leaves much to be desired, and can be very quirky, especially compared to Firefox.