Quarters [SOLVED]
| From: | tedd | Date: | Sat, 12 Apr 2008 17:41:58 +0000 |
| Subject: | Quarters [SOLVED] | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-272941@lists.php.net to get a copy of this message | ||
Hi gang:
The error was simply one of variable type in javascript.
In the statement:
document.getElementById(id2).checked = true;
I used id2 = 'c' + id[2] + id[3] and by doing so unknowingly made the result an array instead of a string. In some other languages it would have worked -- and did work for some browsers -- but failed in IE.
However, once that was fixed, the critter works for most current browsers (IE6+, Safari , FF, Opera).
For those interested, here's the finished version:
http://webbytedd.com/quarters/
Thanks for all the help.
Cheers,
tedd
--
-------
http://sperling.com http://ancientstones.com http://earthstones.com