Thanks, Arto.  I'm using it, works fine.

Arto Arffman wrote:
Well, I have used different approach; with javascript you can scroll to where you were before hitting submit. I once posted a behaviour that automatically takes care of that. I found it from archives ( http://sourceforge.net/mailarchive/message.php?msg_id=13241596). That was done for 1.1 and it could be more elegant. But you can use it for a starter and develop it a bit further. Of course you should use anchors, if javascript-free solution is required.

2006/3/12, kurt heston <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>:

    I've got a page with multiple forms.  Every time I press a submit
    button, the browser starts me at the top of the page again.  I
    then have
    to scroll back to where I want to be.  Is there a way to set an anchor
    name to land on (in the URL) in the onSubmit method so the browser
    auto-scrolls to where I want to be?


    -------------------------------------------------------
    This SF.Net email is sponsored by xPML, a groundbreaking scripting
    language
    that extends applications into web and mobile media. Attend the
    live webcast
    and join the prime developer group breaking into this new coding
    territory!
    http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
    <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642>
    _______________________________________________
    Wicket-user mailing list
    Wicket-user@lists.sourceforge.net
    <mailto:Wicket-user@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/wicket-user
    <https://lists.sourceforge.net/lists/listinfo/wicket-user>




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to