[jQuery] Re: Setting DOM values (non-attributes)
Thanks, I totally forgot that. It was how I was setting attributes (used Firebug to figure that out once) before using the jQuery shortcut. I appreciate the metal jumpstart! John Sean Catchpole wrote: jQuery returns an array of DOM elements, so try this: $('#postedText')[0].scrollTop = ~Sean
[jQuery] Re: Setting DOM values (non-attributes)
jQuery returns an array of DOM elements, so try this: $('#postedText')[0].scrollTop = ~Sean
[jQuery] Re: Setting DOM values (non-attributes)
Take a look at the dimensions plugin. (www.visualjquery.com -> Plugins -> Dimensions) -js On 7/12/07, John Farrar <[EMAIL PROTECTED]> wrote: I want to achieve this with jQuery. document.getElementById('postedText').scrollTop = document.getElementById('postedText').scrollHeight - document.getElementById('postedText').clientHeight; Did I miss it in the docs? John Farrar