So you're a Noob? Post your questions here until you graduate! Don't be shy.
User avatar
By martinayotte
#73064 Having Ajax calls to onClick from buttons are actions taking effect immediately, while having radio buttons submitted from a form with submit button is taking effect only when the submit button is pressed and the form transmitted by a POST request defined in "action" property.

Those are 2 differents ways, but both are possible. But you need to learn how by looking at tons of HTML examples available on the internet, most of them not related to ESP.