View Full Version : Code does not work in Internet Explorer, but it does in FireFox

08-19-2005, 09:54 PM
This is code allows for what is selected in Drop-Down boxes to appear in a text box next to it, if they select a second thing, it will also appear in that text box, it works in Firefox, but not Internet Explorer.

function addOption(x,x2) {
if (sOption == '') {document.getElementById(x2).value=x+"\n";}
else { if (sOptions.length > 1) {document.getElementById(x2).value=sOption+x+"\n";}
else {document.getElementById(x2).value=sOption+"\n"+x+"\n";}

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum