87,923
社区成员
发帖
与我相关
我的任务
分享
jQuery(document).ready(function() {
$.formValidator.initConfig({ submitonce: true, formID: "aspnetForm", theme: formValidatorTheme, mode: 'AutoTip', onError: function(msg) { Msgbox(msg) }, inIframe: true });
$("#ctl00_ContentPlaceHolder1_tb_title").formValidator({ onshow: "请输入标题", onfocus: "标题不能为空", oncorrect: "输入正确" }).inputValidator({ min: 2, onerror: "标题不能为空,请确认" });
});
<dl>
<dt>标题:</dt><dd>
<input name="ctl00$ContentPlaceHolder1$tb_title" type="text" id="ctl00_ContentPlaceHolder1_tb_title" class="input-text post-input-text2 cl" style="width:685px;" />
<span class="fz12 fc999"></span>
</dd>
</dl>