DaveR
Nov 19th, 2004, 06:10 AM
Hi,
I have the following code on an asp page and it works fine from a mozilla bowser but when run from internet explorer is doesnt seem to work at all.
function Approach (theform) {
var pregen = 0 ;
pregen = theform.sel_app_1.value
alert(pregen)
return;
}
called from a select box as follows.
onChange= "Approach(this.form) ;"
With the mozilla browser it displays the selected value
With internet explorer it just displays the default value of 0
If any one has even the slightest idea of what the problem is here , please let me know.
Thank
I have the following code on an asp page and it works fine from a mozilla bowser but when run from internet explorer is doesnt seem to work at all.
function Approach (theform) {
var pregen = 0 ;
pregen = theform.sel_app_1.value
alert(pregen)
return;
}
called from a select box as follows.
onChange= "Approach(this.form) ;"
With the mozilla browser it displays the selected value
With internet explorer it just displays the default value of 0
If any one has even the slightest idea of what the problem is here , please let me know.
Thank