Se ho:
stringa = 'abcdef';
sottostringa = stringa.substr(3,3);
alert ( sottostringa );
mi da giustamente 'def'...
se invece ho
stringa = parent.location; (che è http://localhost/prova.php)
non funziona... perché??
Se ho:
stringa = 'abcdef';
sottostringa = stringa.substr(3,3);
alert ( sottostringa );
mi da giustamente 'def'...
se invece ho
stringa = parent.location; (che è http://localhost/prova.php)
non funziona... perché??
All work and no play makes EricFlat a dull boy
prova parent.location.href
Risolto... dovevo mettere:
stringa = parent.location.toString();
All work and no play makes EricFlat a dull boy