HighDots Forums  

retainig the position of the form onsubmit

JavaScript discussion (multi-lingual) JavaScript discussion (alt.comp.lang.javascript)


Discuss retainig the position of the form onsubmit in the JavaScript discussion (multi-lingual) forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ross
 
Posts: n/a

Default retainig the position of the form onsubmit - 09-15-2005 , 10:47 AM






Hello,

I have a form inside a div and I was wondering if there is a way to retain
the position of the scoller on submission of a page?

The form is processed with PHP.



R.



--
Posted via NewsDemon.com - Premium Uncensored Newsgroup Service
------->>>>>>http://www.NewsDemon.com<<<<<<------
Unlimited Access, Anonymous Accounts, Uncensored Broadband Access

Reply With Quote
  #2  
Old   
Kimmo Laine
 
Posts: n/a

Default Re: retainig the position of the form onsubmit - 09-15-2005 , 01:58 PM






"Ross" <ross (AT) aztechost (DOT) com> kirjoitti
viestissä:43299799$0$6966$b9f67a60 (AT) news (DOT) newsdemon.com...
Quote:
Hello,

I have a form inside a div and I was wondering if there is a way to retain
the position of the scoller on submission of a page?

The form is processed with PHP.

No need for Javascript. In my experience a simple anchor will do just fine.

<form method="post" action="thispage.php#ReturnToHere">
<a name="ReturnToHere"></a>
<input type="submit">
</form>

--
SETI @ Home - Donate your cpu's idle time to science.
Further reading at <http://setiweb.ssl.berkeley.edu/>
Kimmo Laine <eternal.erectionN0 (AT) 5P4Mgmail (DOT) com>




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.