Error: document.location.indexof is not a function
Perchè???????
La funzione è la seguente:
function dececk() {
var b="view.php";
var a=document.location.indexOf('php');
alert(a);}
e quello sopra.... l'errore! Mi sapete spiegare il perchè? Ieri pomeriggio andava!