function formToRequestString(form_obj) { var query_string=''; var and=''; for (var i=0;icmax) { cobj.value = cobj.value.substring(0,cmax); KesionJS.Alert("評論不能超過"+cmax+"個字(zì)符(fú)!"); } else { document.getElementById('cmax').value = cmax-cobj.value.length; } }function checkcommentform(){ var anounname=document.getElementById('AnounName'); var C_Content=document.getElementById('C_Content'); var sC_Content=document.getElementById('sC_Content'); var anonymous=document.getElementById('Anonymous'); var pass=document.getElementById('Pass'); if (anounname.value==''){ KesionJS.Alert('請填寫用戶名!',"$('#Anonymous').focus()"); return false; } if (anonymous.checked==false && pass.value==''){ KesionJS.Alert('請輸入密(mì)碼或選擇遊(yóu)客發表!','$("#Pass").focus()'); return false; } if (C_Content.value==''||C_Content.value=='文明上網,請對您的發(fā)言負責!'){ KesionJS.Alert('請填寫評論內容!','$("#C_Content").focus();'); return false; } sC_Content.value=C_Content.value; ajaxFormSubmit(document.form1) } function checkbindweibo(){ if ($("#transweibo")[0].checked){ jQuery.post("/user/UserAjax.asp",{action:'CheckToken',checktype:"sinaweibo"},function(d){ if (d!='success'){ KesionJS.Alert('您沒有綁定新浪費微博(bó)賬號,或是授權失效!','$("#transweibo").attr("checked",false);'); }else{ $("#transweibo").attr("checked",true); } }); } } document.write('
已有 條跟帖(點擊查(chá)看)
用戶名: 注冊
 
');