ci dovresti arrivare anche via js, con il supporto di librerie tipo jquery.