comparemela.com


成為新會員';
html += '
回應只代表會員個人觀點,不代表經濟通立場';
html += '';
}
return html;
}
function submitForm() {
var error = '';
var data = '';
var n = 0, cw = 0, ew = 0;
$.get('/www/tc/common/comment_pager.php',{action:'checkflood',uid:uid,rnd:rnd()},function(data){
if (data == 'false') {
var n = 0, cw = 0, ew = 0;
var mw = new RegExp("^([a-z0-9_]+(?:,[a-z0-9_]+){500}),?.*$", 'i');
/* replace any non-word characters */
var str = $('#comment_content').val().replace(/[^,\S]+|,{2,}/g, "");
if (str.length==0){
valid = false;
error = "請輸入內容。";
$("#postreturn").text(error);
$("#postreturn").show();
} else {
for (i = 0; i 255) {
n += 1;
cw++;
} else {
n += 0.5;
ew++;
}
}
if ((n
maxWordCount) && n!=0) {
valid = false;
error = "您的帖子長度不符合要求。\n\n";
error += "當前長度: "+n+" 字節\n";
error += "系統限制: "+minWordCount+" 發送到 "+maxWordCount+" 字節";

Related Keywords

Beijing ,China ,Tianjin ,Hong Kong ,Myolie Wu , ,May Her ,Aberdeen Start ,பெய்ஜிங் ,சீனா ,ஹாங் காங் ,இருக்கலாம் அவள் ,

© 2024 Vimarsana

comparemela.com © 2020. All Rights Reserved.