单个邮箱的验证方法: function checkEmail() { var emailValue=document. getElementById_r("email").value; if (!isEmail(emailValue)) { alert("您输入的邮箱有误,请重新核对后再输入!"); document. getElementById_r("email")
style*{margin:0}body{ height:1000px; width:1000px; } #a{ width:300px; height:100px; background:red; }/stylescriptvar isie6 = window.XMLHttpRequest?false:true;window.onload = function(){ var a = document.getElementById('a'); var d = document
今天我爱模版在做一个客户的网站时,需要引用另一个网站的内容。第一个想到的是iframe。当我用iframe引用时,发现,打开之后总是跳转到引用网站上。我想可能该网站禁止别人的引用
jquery利用正则表达式获取字符串中的数字 !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"html xmlns="http://www.w3.org/1999/xhtml"headmeta http-equiv="Cont
js实现点击下拉框的不同选项跳转到不同页面。方法很简单,就是做一个js跳转window.open,然后用onclick触发这个函数。 select option请选择跳转的地址/option option onclick="menu_01()"百度/option