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 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Aug 2008
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    What is the proper way to submit a form that shows a preview on the same page?

    Hello,

    I created my first javascript here:
    http://ia311232.us.archive.org/1/ite...-001/test.html

    It works well in Firefox 3.0, but not in any other browser.

    I'm not sure what to put in the onClick for the submit button. Any help would be appreciated. Thanks!

  • #2
    New Coder
    Join Date
    Aug 2008
    Posts
    60
    Thanks
    6
    Thanked 6 Times in 6 Posts
    You could try putting the "?" in a "<span>" then change it with
    Code:
    document.getElementById('span id').innerHTML=document.getElementById('input id').value;

  • Users who have thanked uncrocks for this post:

    thomaswayne314 (08-28-2008)

  • #3
    New to the CF scene
    Join Date
    Aug 2008
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts
    @unrocks

    You are a genius! Thank you so much...


  •  

    Posting Permissions

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