salve ragazzi mi trovo una funzione già fatta che dovrei utilizzarla
codice:
function SearchTown( townStr )
{
	var theRet = { SearchTown:	
		[ 
			{ townId: 182931, townName: "Pisa" },
			{ townId: 182222, townName: "Pistoia" },
			{ townId: 142931, townName: "Pisticci" },
			{ townId: 232212, townName: "Piscinas" }
		]
	}
	return theRet;
}
Io credo che theRet sia una collezione, ma come utilizzarla? Come stamparla??