JavaScript

Moderators: None (Apply to moderate this forum)
Number of threads: 2061
Number of posts: 5164

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Re: document.form.input.value not staying Posted by mac_doggie on 2 Dec 2009 at 1:30 PM
You'd better not post the form but instead just do your actions in the onclick of a normal button or link. If you submit your form it is seen as new request. The page resets itself (unless your browser saved the values of your input fields)

just do something like <a href="javascript:submit_wepname()">do it</a>

-mac-
mailto:mac_doggie@hotmail.com
the Netherlands...
Thread Tree
smokeys_13 document.form.input.value not staying on 12 Sept 2009 at 12:23 PM
mac_doggie Re: document.form.input.value not staying on 2 Dec 2009 at 1:30 PM



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.