Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Mar 2004
    Location
    montreal
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    retrieving form data using Javascript

    How do I get javascript to display and save the information entered on my form.
    I have very little knowledge about this but what I want to have on my site is to get the information entered on my form to be displayed public(that is right away) after clicking the submit button.

  • #2
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,075
    Thanks
    0
    Thanked 256 Times in 252 Posts
    Do you have an access to a server-side language (asp, php, jsp, etc)? This is done better in server-side. But if you don't have one, you can also use javascript.

    Using GET as form method (<form method="get" action="page2.htm">), the form data are appended in the querystring. You can use this script to parse the querystring in the next page. If you don't want this method, there are other ways of doing it.
    Glenn
    ____________________________________

    My Blog
    Tower of Hanoi Android app (FREE!)
    Tower of Hanoi Leaderboard
    Samegame Facebook App
    vBulletin Plugins
    ____________________________________


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •