I figured out I can do it like this.
$('msgCenterContent').scrollTop = $('msgCenterContent').scrollHeight;
From: prototype-scriptaculous@googlegroups.com
[mailto:prototype-scriptacul...@googlegroups.com] On Behalf Of Russell
Keith
Sent: Monday, March 22, 2010 12:25 PM
To: prototype-scrip
I have a div that I am updating with text as processes complete. How
can I use $(element).scrollTo(); to make sure it is always scrolled to
the bottom?
In my HTML I have this div
In my js I have calls like this to update the user as to what is going
on while they wait.
$('msgCenterCont
Thanks for your reply Pranav.
I've tried to remove the onkeyup event and create the autocompleter
instance only once as you suggested.
This is how I do it.
But the problem still persists.
--
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us
The autocompleter instance needs to be created only once and not
during each keyup event. That's probably what is messing it up.
$(document).observe('dom:loaded', function(){
Ajax.Autocompleter("auto","autocomplete","AutocompleteServlet");
});
On Mar 22, 7:51 am, tailangong wrote:
>
Hi Green,
I was an idiot (again) - I still had the IE 7 emulation meta tag in my
HTML head, that's why I still got the error. I had put this tag in
before in one of my efforts to find a work around for the error.
Even so, I just checked your example file against a real IE 7 and it
fails (Event.pr
Well, I am doing a simple page to test ajax.autocompleter function as
in this link
--> http://wiki.github.com/madrobby/scriptaculous/ajax-autocompleter
However, it only works in Chrome and Firefox. IE7&8 do not give
responds no matter what I typed in the text field. (Supposedly, there
will be a li