Just slightly OT but can someone please tell me why the following fails when
run within the document ready function but works as expected when it's on its
own?
I've tried dozens of variations and the result is always the same. This should
just work and I can't find anything that says otherwise.
$(document).ready(function () {
if(window.location.indexOf("w3schools") >= 0)
{
alert("Welcome to W3 Schools!");
}
});
_______________________________________________
ozmoss mailing list
[email protected]
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss