Hi,
I've got a drop down box that should reload the same page whenever any of the options are selected.
However I get a Microsoft Development error;
"An exception of Type 'Microsoft jscript runtime error: object doesn't support this property or method' was not handled"
The JScript function looks like this:
<script Language="Jscript">
function doReload(reloadType) {
// if (result==false)
// return; // user canceled search
//else {
if (reloadType == true) {
window.focus();
window.location.reload(false); // Reload page
}
else {
window.parent.doReload(true);
};
}
</script>
and the drop down contains this;
<select size="1" name="dropdown_menu" onchange=doReload(this.value)>
<OPTION SELECTED value="">1
<OPTION value="true">2
</SELECT>
Can anyone see where i'm going wrong??
Julie
I've got a drop down box that should reload the same page whenever any of the options are selected.
However I get a Microsoft Development error;
"An exception of Type 'Microsoft jscript runtime error: object doesn't support this property or method' was not handled"
The JScript function looks like this:
<script Language="Jscript">
function doReload(reloadType) {
// if (result==false)
// return; // user canceled search
//else {
if (reloadType == true) {
window.focus();
window.location.reload(false); // Reload page
}
else {
window.parent.doReload(true);
};
}
</script>
and the drop down contains this;
<select size="1" name="dropdown_menu" onchange=doReload(this.value)>
<OPTION SELECTED value="">1
<OPTION value="true">2
</SELECT>
Can anyone see where i'm going wrong??
Julie