Si potrebbe fare anche in html, ma devi usare i pulsanti, i submit, ecc... è molto laborioso