I know for a fact that it is an object and I'm pretty sure that it
isn't null. I will give you a link to the page that I'm
troubleshooting even though it's embarrassingly ugly. Does anyone have
an idea of why it's not seeing the <select name=finish> on Line 183 in
<Form Name="myform">?
Thanks for looking.
pk - 31 Aug 2005 17:40 GMT
http://www.bigkaiser.com/phil/e-assist.htm the link :-D
parksch2@hotmail.com - 31 Aug 2005 18:02 GMT
Try this:
function able(dropdown)
{
var myindex = document.getElementById("finish").selectedIndex;
if(myindex == 1) {
document.getElementById('BalStepDiv').style.visibility="visible";
document.getElementById('BalStepDiv').focus();
}
else {
document.getElementById('BalStepDiv').style.visibility="hidden";
}
}
pk - 31 Aug 2005 18:05 GMT
Awesome! It worked. Now may I ask why?
tom - 31 Aug 2005 19:50 GMT
pk,
basically this function make shows or hiddens the div named BalSetpDiv
every time the SELECT changes.
bye
tom - 31 Aug 2005 20:09 GMT
pk,
basically this function make shows or hiddens the div named BalSetpDiv
every time the SELECT changes.
bye