[jQuery] How to write this using jquery?
Hi,
What would be the jQuery version of this:
=================
function getFlashMovie(movieName) {
var isIE = navigator.appName.indexOf("Microsoft") != -1;
return (isIE) ? window[movieName] : document[movieName];
}
...
...
$obj = getFlashMovie(name);
=================
The above function works good (so far, only tested in Firefox/Mac),
but I can't seem to get a working "jQuery" version.
Any tips?
Sorry if silly question...
Have a great day!
Cheers,
M