Wordpress Themes, Wordpress snippets
In the following example,
isAgeSelected is a checkbox and txtAge may be anthing like textbox or div area.
$('#isAgeSelected').is(':checked') ? $("#txtAge").show() : $("#txtAge").hide();
No comments:
Post a Comment