che errore javascript ti da ????
perchè come hai fatto è esatto..