Forum Moderators: open
here is some extra code:
<!-- Begin
var cat11Array = new Array("('Select cat1','',true,true)",
"('Somalia')",
"('Any')");
function populatecat1(inForm,selected) {
var selectedArray = eval(selected + "Array");
while (selectedArray.length < inForm.cat1.options.length) {
inForm.cat1.options[(inForm.cat1.options.length - 1)] = null;
}
for (var i=0; i < selectedArray.length; i++) {
eval("inForm.cat1.options[i]=" + "new Option" + selectedArray[i]);
}
if (inForm.cat.options[0].value == '') {
inForm.cat.options[0]= null;
if ( navigator.appName == 'Netscape') {
if (parseInt(navigator.appVersion) < 4) {
window.history.go(0);
}
else {
if (navigator.platform == 'Win32' ¦¦ navigator.platform == 'Win16') {
window.history.go(0);
}
}
}
}
}
// End -->
</script>