Menu
I know that I can test if a browser can use a particular DOM command by:
[code=php]
if (document.getElementById() == false) { alert(‘Browser NOT compatible with program’); }
My question is this: Where do I put this? First line of script? In an ‘onLoad=’ function? Somewhere else?
Second question: Is there a similar check to see if an AJAX file load can be used for a particular browser?
Again, where do I put it? (I know, this is a loaded question! ? )