There are many ways to make a selection in a webpage such as radio button, checkbox etc. Here we have methods to interact with a checkbox or a radio button using JavaScript. Check the readymade functions to know how to check/uncheck checkbox using javascript or how to select a radio button using javascript.