Trying to get the value=\"\" of to change upon selection of a radio button. So if the user
it will bind an event handler change of all inputs inside the form searchSelect, with name option1 and of type radio.
$(function() {
$('#searchSelect input[name="option1"]:radio').change(function() {
$('.box').val('Enter a ' + this.value);
});
});
to learn more about the change event check out the jQuery documentation.