dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: Script Variable into Form Value Field

  1. #1
    Join Date
    Apr 2004
    Posts
    2

    Script Variable into Form Value Field

    Is there a way to put a script variable into a form input value field without refreshing the page?

    Thanks,

  2. #2
    Join Date
    Nov 2003
    Location
    Worthington, OH, USA
    Posts
    3,634
    document.getElementById('formTBoxID').value ="someValue";
    If you're doing it prior to the submit should work.

  3. #3
    Join Date
    Apr 2004
    Posts
    2

    Lightbulb That Does It

    Thank you. That solved it.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles