works in Opera but not IE
Posted: Thu Jan 22, 2004 8:54 pm
why would this work in Opera but not in IE
'backs' is a listbox in form1
in Opera everything works, 'form1.backs.value' = what it should be
but in internet explorer 'form1.backs.value' doesnt have any value
thanks for any info
Code: Select all
<SCRIPT LANGUAGE="Javascript">
function image_reload() {
name = "shback";
imgSrc = "backs/"+form1.backs.value;
form1.text.value = imgSrc;
var x = 300; // width of picture
var y = 100; // height of picture
tag = document.imagesїname];
img = new Image (x, y);
img.src = imgSrc;
tag.src = img.src;
return;
}
</script>in Opera everything works, 'form1.backs.value' = what it should be
but in internet explorer 'form1.backs.value' doesnt have any value
thanks for any info