Categories
JavaScript

Submit a form with a radio button using Javascript

My boss (bless his little cotton socks) wanted me to implement some code that submitted a form when the user changed the selection in a set of radio buttons. This seemed fairly simple: surely I could just do something like: After writing a separate function and calling it on the onClick method, and after trying different […]