I have a settings page in my Chrome extension and I am wondering what is the recommended ("best") way of obtaining user input. In my particular case, I need to present a set of combo choices along with a button. When the button is clicked, a javascript function should be executed. My understanding is that if I use a , this will post a request which I don't want (it causes the page to flash & reload). I want all of this to be client-side. Here is what I have so far (below). How can this be changed? Thanks in advance.
<form>
<input type="radio" name="format" value="format1"/>(xxx) xxx-xxxx<br/>
<input type="radio" name="format" value="format2"/>xxx-xxx-xxxx<br/>
<input type="radio" name="format" value="format3"/>xxx.xxx.xxxx<br/>
<input type="submit" value="Convert"/>
</form>