Try using Element#scrollTo


On Thu, Oct 30, 2008 at 10:58 PM, Ali Imran Ahmad

> Hi, i am developing myspace application. I have a form which has large
> height so when i post data through ajax request it does call page and
> result shows at top but scroll bar remains same at bottom where I
> press the button to post form. Please anyone can help me out?
> scrollTo(0,0)
> document.getElementById('content').scrolltop=0;
> etc
> all not working...
> >


You received this message because you are subscribed to the Google Groups 
"Prototype &" group.
To post to this group, send email to
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at

Reply via email to