摘要:
Function ValidateEmailAddr(strEmailAddr) Dim re Set re = new RegExp re.IgnoreCase = falsere.global = falsere.pattern = "^\w+@[a-zA-Z_]+?\.[a-zA-Z]{2,3}$" ValidateEmailAddr=re.Test(strEmailAddr) end fu... 阅读全文
摘要:
jQuery对Ajax操作进行了封装,在jQuery中$.ajax()方法属于最底层的方法,第2层是laod()、$.get()和$.post()方法,第3层是$.getScript()和$.getJSON()方法。load()方法是jQuery中最为简单和常用的Ajax方法,能载入远程HTML代码并插入到DOM中。它的语法结构为: load( url [, data][, callback] ... 阅读全文
摘要:
页面调用$(document).ready(function(){$("#button").click(function() {tipsWindown("","id:slidemenubar2","300","170","true","","true","id")});});<div id="slidemenubar2"></div>样式#windownbg {displa... 阅读全文