Here Mudassar Ahmed Khan has explained with an example, how to call JavaScript function when an HTML RadioButton is checked (selected) or unchecked (unselected).
For illustration purposes, when the RadioButton is clicked based on whether it is checked (selected) or unchecked (unselected), a JavaScript function will be called within which the HTML DIV with TextBox will be shown or hidden.
↧