WEB开发网
开发学院网页设计JavaScript 从零开始学习jQuery (十一) 实战表单验证与自动完... 阅读

从零开始学习jQuery (十一) 实战表单验证与自动完成提示插件

 2010-09-14 13:46:42 来源:WEB开发网   
核心提示: <scripttype="text/javascript"src="<%=WebConfig.ResourceServer%>/JsLib/jquery/plugin/jquery.validate/localization/messages

<script type="text/javascript" src="<% =WebConfig.ResourceServer %>/JsLib/jquery/plugin/jquery.validate/localization/messages_cn.js"></script>

语言文件的内容举例:

jQuery.extend(jQuery.validator.messages, {
    required: "必选字段",
    //...
});.csharpcode, .csharpcode pre
{

font-size: small;

color: black;

font-family: consolas, "Courier New", courier, monospace;

background-color: #ffffff;

/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{

background-color: #f4f4f4;

width: 100%;

margin: 0em;
}
.csharpcode .lnum { color: #606060; }

上一页  1 2 3 4 5 6 7 8 9 10  下一页

Tags:开始 学习 jQuery

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接