Hi, it does not work. On Wed, Jun 30, 2010 at 6:35 PM, Nelson Segura <nsegu...@gmail.com> wrote:
> To execute javascript after AJAX, do the following > > ajaxRequestTarget.appendJavascript("alert('hello');"); > > > To jump to a section using javascript use > > window.location.hash = '#idname'; > > > You can put a #top anchor on top of your window, and then jump to it > using the combination of code above. > I have not tried this myself, though :) > > ajaxRequestTarget.appendJavascript("window.location.hash = '#top';"); > > -Nelson > > On Wed, Jun 30, 2010 at 1:54 PM, Anna Simbirtsev <asimbirt...@gmail.com> > wrote: > > > > I need to scroll to the top on ajax response. Would you have an example > on > > how to do it? > > > > > > On Wed, Jun 30, 2010 at 4:27 PM, Nelson Segura <nsegu...@gmail.com> > wrote: > > > > > Are you refreshing the whole window or just the feedback panel? > > > You can try to refresh the whole window, or you can include some java > > > script > > > that scrolls your window to the top on the ajax response. > > > -Nelson > > > > > > On Wed, Jun 30, 2010 at 12:22 PM, Anna Simbirtsev < > asimbirt...@gmail.com > > > >wrote: > > > > > > > Hi, > > > > > > > > My problem is that after the user clicks AjaxSubmit button, and the > > > > confirmation message is displayed in feedback panel, the window does > not > > > > refresh, so if the user scrolled to the bottom of the model window, > > > he/she > > > > does not see the confirmation message. > > > > > > > > How can I get the modal window to refresh, so the top part of the > window > > > is > > > > visible? > > > > > > > > Thanks, > > > > Anna > > > > > > > > > > > > > > > -- > > Anna Simbirtsev > > (416) 729-7331 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Anna Simbirtsev (416) 729-7331