http://gomoxy.com/una/edmontonautoloans/credit-application.php
my jquery code:
$("#callback_toggle").is(':checked')){
$("#txthiden").hide();
}else{
$("#txthiden").show();
}
when i checked the checkbox, i want to hide the content which in txthiden div. vice versa. the default state is unchecked.and the the content in txthiden div is showing. why my code doesn’t work. thank you.
Working demo http://jsfiddle.net/ACnn4/1/
code