I guess there is a difference between being able to get by the onclick. filters and having the patience to!
I had previously been using document.getElementById(), and then switched to using the control name specifically (_selectedUnit) to try to make things simpler and rule out the fact that maybe I wasn't operating on the correct element, so that can rule out that problem.
I ended up getting by the problem by adding the javascript right to the onclick call, and now it works, not sure why. Here is what I have now:
This works. But doing this inside a javascript function as I showed in my previous post did not. I don't understand why. I also tried defining a javascript boolean instead of setting it to the
string value of false and that didn't work either. I am fine now that i have it working but am still curious if anyone knows any reason why that might have not worked.
[ August 04, 2008: Message edited by: Bear Bibeault ]