Dostum bende de aynı sorun var... Bende checkbox ları cookie ile korumayı deniyorum ama bir türlü beceremedim. Maalesef bir sorun oluyor devamlı.

--R10.NET; Flood Engellendi -->-> Yeni yazılan mesaj 16:05:52 -->-> Daha önceki mesaj 14:08:21 --

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <script src="Scripts/jquery-1.7.1.min.js" type="text/javascript"></script>
    <script src="https://github.com/carhartl/jquery-cookie/blob/master/jquery.cookie.js"
        type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            var checkbox = $('#boxlawreg').find(':checkbox'), checkboxCookieName = 'checkbox-state';

            checkbox.each(function () {
                $(this).attr('checked', $.cookie(checkboxCookieName + '|' + $(this).attr('name')));
            });

            checkbox.click(function () {
                $.cookie(checkboxCookieName + '|' + $(this).attr('name'), $(this).prop('checked'));
            });
        });
    </script>
</head>
<body>
    <div id="boxlawreg">
        <input type="checkbox" name="option1" value="1" />1<br />
        <input type="checkbox" name="option2" value="2" />2<br />
        <input type="checkbox" name="option3" value="3" />3<br />
        <input type="checkbox" name="option4" value="4" />4<br />
    </div>
</body>
</html>
Şöyle bir şey buldum ama çalıştırmayı beceremedim bir türlü. Bu kod çalışıyor mu arkadaşlar kontrol eder misiniz?
Bir de çalışıyorsa acaba js leri mi yanlış yukluyorum diye şüphe içerisindeyim. Bu js leri nasıl yukleteceğim onu soylerseniz sevinirim