Can anyone help to make checkbox stay when page refresh. i have a bootstarp modalpopup that has bootstrap checkbox in it. i need to make checkbox stay checked when i click a button a when the popup pop... Please help. below are my script..
- $(document).ready(function () {
- var $arrT = $('#<%=GridView1.ClientID %>').find('input:image[id$="ImgBtnEdit"]');
- $($arrT).click(function () {
- var text = $("#<%= TextBox1.ClientID %>").val();
- var comMeet = "Meeting";
- if (text === comMeet) {
- $('input[value="M"]').prop("checked", true)
- }
- });
- });
- </script>