Ciao, se provo a far girare il seguente script su FF e Safari non da problemi, mi dice che l'ggetto ha lunghezza 4, ma in IE la lunghezza diventa magicamente 5. come mai? e come posso ovviare?


codice:
stringa = "Argomento
<select name=\'argomento\' onchange=\'cambia_form();\'>"           
	
	var select_argom = {"argomento": [
	      
			{"value": "1", "text": "v1"},
		   
			{"value": "2", "text": "v2"},
		   
			{"value": "3", "text": "v2"},
		   
			{"value": "4", "text": "v4"},
		   

		]
	};
		alert(select_argom.argomento.length);

	for (var i=0;i<select_argom.argomento.length;i++)
	{
		stringa += "<option value=\'"+select_argom.argomento[i].value+"\'>"+select_argom.argomento[i].text+"<\/option>";
	}
	stringa += "<\/select>"