function formToRequestString(form_obj) { var query_string=''; var and=''; for (var i=0;icmax) { cobj.value = cobj.value.substring(0,cmax); KesionJS.Alert("評論不能(néng)超過"+cmax+"個字符!"); } 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('請填(tián)寫用戶名!',"$('#Anonymous').focus()"); return false; } if (anonymous.checked==false && pass.value==''){ KesionJS.Alert('請輸入(rù)密碼或選擇遊客發表!','$("#Pass").focus()'); return false; } if (C_Content.value==''||C_Content.value=='文(wén)明上網,請對您的發(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('您(nín)沒有綁定新浪費微博賬號,或是授權失效!','$("#transweibo").attr("checked",false);'); }else{ $("#transweibo").attr("checked",true); } }); } } document.write('
已(yǐ)有 條跟帖(點擊查看)
用(yòng)戶名: 注冊
 
');