It`s not completely clear to me how your fields are organized but adding the following piece of code to your if statements should help making the desired input “readonly”:
jQuery('input[name="internetSearch"]').prop('readonly', true);
It`s not completely clear to me how your fields are organized but adding the following piece of code to your if statements should help making the desired input “readonly”:
jQuery('input[name="internetSearch"]').prop('readonly', true);