-
February 3rd, 2006, 09:58 PM
#31
Ooops, I think you left out 1 reference to options:
document.forms[0].elements[3].options[document.forms[0].elements[3].options.selectedIndex].value=='0'
-
February 3rd, 2006, 10:04 PM
#32
Originally posted here by JPNYC
Ooops, I think you left out 1 reference to options:
document.forms[0].elements[3].options[document.forms[0].elements[3].options.selectedIndex].value=='0'
With that I get the no properties error again.
-
February 3rd, 2006, 10:27 PM
#33
Ok, but leaving that aside, let's find out why the function doesn't work. COmment out the selectedIndex lines for now, let's get it to work one step at a time. In fact, you should really start with a single element validation and get that to work. When in doubt, simplify.
-
February 3rd, 2006, 10:29 PM
#34
Hey Hey,
It's working.... I forgot to account for the hidden fields at the starm of the form... Now I just need to make it loop for each file uploaded but that should be simple enough
Thanks for your help everyone.
Peace,
HT
-
February 3rd, 2006, 10:34 PM
#35
AHA! Okie doke. Time to go out and pillage.
-
February 3rd, 2006, 10:39 PM
#36
That also explains why the error on the dropdown box with the proper syntax. Because it wasn't referencing the dropdown element. Anyway, glad it works.
-
February 3rd, 2006, 10:47 PM
#37
Thanks for all your help.... it was greatly appreciated.
-
February 3rd, 2006, 10:57 PM
#38
My pleasure. I don't get to do quite as much coding on the job as I'd like, so this is how I get my fill
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|