この質問に従って、私は自分自身に尋ねて答えました... ボタンセットの jquery Cookie の 設定 私が理解できないのは、ボタンセットを選択して更新する方法だけです...これは皮肉なことに、最初の質問で抱えていた問題でしたが、その方法を理解しました。時間。
$(function(){
var radioButtonSet=$('.setCookies').find('.setupRadioButtons');
radioButtonSet.buttonset();
var radio=$('.setupRadioButtons').find(':radio'), radioCookieName='selection';
radio.each(function(){
var selected=$.cookie(radioCookieName + '|' + this.name);
$(this).prop('checked', true).button('refresh') // CAN'T GET THIS TO WORK
$(this).click(function() {
$.cookie(radioCookieName + '|' + this.name, $(this).val(), {expires: 365});
});
});
});