New Idea
Actually stuff this making conditional checks at each and every turn
Why don't I just get PHP to detect the brower and serve up an IE page
for the IE users and a Firefox page for the Firefox users?
I think the only drawbacks are
1. Extra work for the server
2. You now have 2 scripts to edit (but they are both easier to edit)
-
Now I am going to look at the "for-in" construrct (which I have never used)
and I am going to research more (google) about the JQuery library
before I ask any more questions
Thanks All
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Bear Bibeault wrote:
And as Eric (with the fastest Return key on the face of the planet) has shown, cross-browser event handling means making conditional checks at each and every turn.
How to get the Event instance? Different.
The properties of the Event instance? Different.
How to control propagation and default actions? Different.
Is it a wonder I have no hair!?!
Save your hair and look into jQuery. You'll thank me (and Eric -- he'll endorse it too).