JavaScriptʵÏÖÒ³Ãæ´«Öµ
ÎÒ»¹ÊDzËÄñ£¬Çë´ó¼Ò¶àÖ¸½Ì£¡
Ò³ÃæÒ»£º
<html>
<head>
<title> Ò³Ãæ´«ÖµÒ» </title>
<script>
function funShow()
{
var arr=new Array(6);
var arrs = showModalDialog("Ò³Ãæ´«Öµ¶þ.html");
for(i=0;i<6;i++)
{
arr[i]=arrs.substr(0,arrs.indexOf(","));
arrs=arrs.substr(arrs.indexOf(",")+1,arrs.length);
}
document.getElementById("f1").innerHTML=arr[0];
document.getElementById("f2").innerHTML=arr[1];
document.getElementById("f3").innerHTML=arr[2];
document.getElementById("f4").innerHTML=arr[3];
document.getElementById("f5").innerHTML=arr[4];
document.getElementById("f6").innerHTML=arr[5];
}
</script>
</head>
<body>
<a href="javascript:funShow()">Ìî±í</a><br/><br/>
Id: <font id="f1"></font><br/>
Name: <font id="f2"></font><br/>
Class: <font id="f3"></font><br/>
Like1: <font id="f4"></font><br/>
Like2: <font id="f5"></font><br/>
Like3: <font id="f6"></font><br/>
</body>
</html>
Ò³Ãæ¶þ£º
<html>
<head>
<title> Ò³Ãæ´«Ö
Ïà¹ØÎĵµ£º
1£®ÈçºÎ»ñÈ¡±íµ¥<select>ÓòµÄÑ¡Ôñ²¿·ÖµÄÎı¾£¿
<form name="a">
<select name="a" size="1" onchange="_sel(this)">
<option value="a">1</option>
<option value="b">2</option>
<option value="c">3</option>
< ......
<a href="<%=Request.ServerVariables("HTTP_REFERER")%>">·µ»ØÉÏÒ»²½</a>
1. oncontextmenu="window.event.returnValue=false" ½«³¹µ×ÆÁ±ÎÊó±êÓÒ¼ü
<table border oncontextmenu=return(false)><td>no</table ......
This document is for establishing build standard for JavaScript and CSS compression
The objective for this document is to establish a companywide JavaScript and CSS compression standard that can be shared crossing multiple SharePoint product development projects. This is the first draft
Overview ......
ÔÎĵØÖ·£ºhttp://www.cnblogs.com/daniel-shen/archive/2006/07/12/449280.html
javascript ÖÐthis µÄÓ÷¨:
1.<div onclick="// ¿ÉÒÔÔÚÀïÃæÊ¹ÓÃthis">division element</div> this Ö¸Ïòdiv
2. <div id="elmtDiv">division element</div>
&nbs ......