qualcuno sa dirmi cosa il seguente codice ritorna in IE 5 mac ?
e anche in altri browser diversi da FF,Netscape,Opera e IE ?
ps. se ve lo state chiedendo e' per testare la soluzione al RegExp typeof bugcodice:function isFunction(what){ return (typeof(what)==="function" && (typeof(what.toSource)!=="undefined" && what.toSource().charAt(0)!="/"))?true:false; } alert(isFunction(new RegExp())); // -> false alert(isFunction(function(){})); // -> true
vedere http://mykenta.blogspot.com/2006/10/...nd-typeof.html per spiegazioni dettagliate