whether or not my variable "showforfamilymember" has a value of true or false it always the show checkbox as checked
<label for="showforfamilymemberchk">Show This Group While Adding Family Member</label>
<input type="checkbox" name="showforfamilymemberchk" id="showforfamilymemberchk" />
jQuery
var txtshowforfamilymember = $("#showforfamilymemberchk");
txtshowforfamilymember.attr("checked", showforfamilymember);