$(document).ready(function () { //binding dropdown checkbox code, after that var cookievalue= getCookie("Cookieval"); if (cookievalue!= null) { $(window).bind("load", function () { $("input[id='dropdownchecklistid'][value='" + cookievalue+ "']").prop("checked", true); }); } });
if (cookievalue!= null) { $("input[id='dropdownchecklistid']").val(cookievalue).prop("checked",true); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)