I would like you to help me, I need to know if it is possible to do this or I am just wasting my time. I need to hide / show certain fields that are a combobox, I know that they can be hidden or displayed when selecting a checkbox or a combobox, but I need to know if it can be done through an inputs name, actually if it can also be done, but when I want to reload the page and modify the information the input field that I bring with an X value does not do anything. When I start to write my form I have an input age and according to age I see two hidden fields, until there all right, but when I modify the same information does not do anything if the age entered previously was visible. I have the following code that I am working with.
$(document).ready(function (){
$("input[name='edad']").change(function() {
if($(this).val()>4){
$("#est").fadeIn();
$("#act").fadeIn();
}else{
$("#est").fadeOut();
$("#act").fadeOut();
}
});