Ragazzi qualcuno mi sa dire perchè queste righe mi girano solo su IE ?!?
var c= document.getElementById("Data");
var stringa = c.innerText;
alert(stringa);
L'ID data si riferisce ad uno SPAN con del testo ovviamente, l'innerText mi restituisce la stringa che c'è nello span correttamente con IExplorer.
Perchè con firefox non funzica ?!?
Grazie

Rispondi quotando