JMRFan4Life
asked on
Javascript adn required field validation asp.net
hi,
i am using a required field validation on my dropdownlist. i have two drop downs and would like to hide one of the validators if both items have not been filled out. There should be a way to do this with javascript or JQuery. not sure how to do the test.
Thanks
i am using a required field validation on my dropdownlist. i have two drop downs and would like to hide one of the validators if both items have not been filled out. There should be a way to do this with javascript or JQuery. not sure how to do the test.
Thanks
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
if (ddlFPGenderChild1.selecte
$(rfvrel1valid).css({ "visibility": "visible", "display": "none" });
};
i use selectedIndex to determine if the dropdowns have been selected or not. This case if first position is shown for both drop downs then hide one.