...

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



thomaswayne314
08-25-2008, 09:40 PM
Hello,

I created my first javascript here:
http://ia311232.us.archive.org/1/items/Test-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!

uncrocks
08-28-2008, 02:57 AM
You could try putting the "?" in a "<span>" then change it with
document.getElementById('span id').innerHTML=document.getElementById('input id').value;

thomaswayne314
08-28-2008, 03:45 AM
@unrocks

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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum