Forum Moderators: open
<sorry, that is too much code - please see Posting Code [webmasterworld.com]>
*******
I know this is a long lines of code, because may be there is some syntax error . I get all values from the form Null from the Nescape browser, but IE is fine.
Thanks for guidence.
[edited by: tedster at 5:00 pm (utc) on Mar. 25, 2003]
if(document.getElementById) {
// For Gecko, Opera, and new IE
blah = document.getElementById('the_ID').value;
}
else if(document.all) {
// For old IE
blah = document.all['the_ID'].value;
// or...
// blah = document.form_name.field_name.value;
}
else if(document.layers) {
// For Netscape 4
blah = document.layers('the_ID').value;
}
Give the form fields an ID, and replace "the_ID" with that value.