hogtied
02-21-2003, 10:17 AM
Hello,
I can't understand why this would not work.
<script blah blah>
<!--
var mainForm = document.search;
function blah() {
mainForm.text.value = "blah";
}
-->
</script>
it errors saying null or not an object. ??
the only way i got this to work was to include
"var mainForm = document.search" in every function
thanks
hogtied :confused:
I can't understand why this would not work.
<script blah blah>
<!--
var mainForm = document.search;
function blah() {
mainForm.text.value = "blah";
}
-->
</script>
it errors saying null or not an object. ??
the only way i got this to work was to include
"var mainForm = document.search" in every function
thanks
hogtied :confused: