'document.myform.finish' is null or not an object : Line 91, Char 2

P

pk

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.
 
P

parksch2

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";
}
}
 
T

tom

pk,

basically this function make shows or hiddens the div named BalSetpDiv
every time the SELECT changes.

bye
 
T

tom

pk,

basically this function make shows or hiddens the div named BalSetpDiv
every time the SELECT changes.

bye
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,951
Messages
2,570,113
Members
46,698
Latest member
alexxx

Latest Threads

Top