another similar problem
I'm also getting errors in IE8 using dynamic dropdowns. Here's a live page.
profile.php
You have to be logged in to access it. You can use username:newer and password: newer to see it.
It gives "A Runtime Error has Occurred"
Line 313
Error: 'options.length' is null or not an object
There's another wierd thing on this page. On all the other pages on the site, the content is centered in the middle of the page, but this page, though controlled by the same template and stylesheet, shows up on the left in IE. I played around in Dreamweaver with the code I got from reveal source, so the html code generated by the php page. When I clipped out the very long script at the beginning of the page generated by dynamic dropdowns, the centering problem was rectified.
What sort of script is this? Javascript? Shouldn't it specify in the script tag? I'm talking about the one that starts out like this:
<script>
var WAJA = new Array();
WAJA[0] = new Array();
WAJA[0][0] = '6';
WAJA[0][1] = new Array();
WAJA[0][1][0] = '195';
WAJA[0][1][1] = '197 Culver Road';
WAJA[0][2] = new Array();
WAJA[0][2][0] = '196';
WAJA[0][2][1] = '197 Culver Road (3 units)';
WAJA[0][3] = new Array();
WAJA[0][3][0] = '183';
WAJA[0][3][1] = '801 Green Team';
WAJA[1] = new Array();
WAJA[1][0] = '4';
WAJA[1][1] = new Array();
WAJA[1][1][0] = '174';
I have another page (the registration page on the site) which also uses dynamic dropdowns for the same function and that page is currently working in IE8, though it also suffers from the centering problem.
Any thoughts?
Barbara Grosh