jq 去除前后空格
function bt_submit(){
var $title = $.trim($("#title").val()); //去除空格
if($title=='') {
ShowMessage("运营商名称不能为空","#ff0000");
return;
}
document.all.form1.submit();
}
function bt_submit(){
var $title = $.trim($("#title").val()); //去除空格
if($title=='') {
ShowMessage("运营商名称不能为空","#ff0000");
return;
}
document.all.form1.submit();
}