Posts: 65
Location: san francisco, ca
|
RESOLVED, which is better then SOLVED cause i learned gobs...
Please see new Test Page E
Cant say specifically what one thing got the page working other than just sleeping on it, then cleaning sh*t up. Well, feels cleaner. I've learned more in past 48 hours then in the 48 weeks prior. So there may be 101 ways to improve & streamline my js/jquery code.
BASICALLY
Created 4x functions, one for each #list2 value.
These functions perform show/hide on whatever div id's
Then called the function from within my #list2 change/switch statement
I put all #list1 divs in a wrapper. change/switch on #list1 only does show/hide on this wrapper.
ONLY QUIRK
In IE (6+7), the event is fired immediately when new list option is selected.
But in FF, the event doesnt occur until that list loses focus.
Which is my homework for tonights pints & headphones. But, any hints on how to get FF to fire on change?
|