Try using Element#scrollTo
http://prototypejs.org/api/element/scrollto

$('content').scrollTo();

On Thu, Oct 30, 2008 at 10:58 PM, Ali Imran Ahmad
<[EMAIL PROTECTED]>wrote:

>
> 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...
>
> >
>


-- 
-Hector

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to