I have a simple function that looks like this:
<script type="text/javascript">
function RefreshPg() {
document.gsql.submit();
}
</script>
It's called from the onchange event in a select box that looks like this:
<SELECT name="IPv" ID="IPv" onchange="RefreshPg();">
I keep getting this error when I execute the onchnage event:
"Microsoft JScript runtime error: Object doesn't support this property or method"
When I debug the error it shows the problem as being my submit statement in my javascript function.
Does anyone kno what would be causing this error on such a simple statement? I'm stumped!
Thanks greatly in advance.
<script type="text/javascript">
function RefreshPg() {
document.gsql.submit();
}
</script>
It's called from the onchange event in a select box that looks like this:
<SELECT name="IPv" ID="IPv" onchange="RefreshPg();">
I keep getting this error when I execute the onchnage event:
"Microsoft JScript runtime error: Object doesn't support this property or method"
When I debug the error it shows the problem as being my submit statement in my javascript function.
Does anyone kno what would be causing this error on such a simple statement? I'm stumped!
Thanks greatly in advance.