1
Im試圖設置它時,使用jquery cookie插件並獲取unexpected string error
。jquery cookie set引發意想不到的字符串錯誤
jQuery('#select').change(function() {
if(jQuery(this).val() == "defaultselect"){
jQuery.cookie('mycookie':'123456789'); // This line throws the error
}
return false;
});
感謝好先生! – mrpatg
非常歡迎您,很高興爲您效勞。 – Usman