Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

JavaScriptÅжÏCheckBoxListÖеÄÏîÊÇ·ñÑ¡ÖÐ

/*¼ì²éÊÇ·ñÑ¡Öи´Ñ¡¿ò2010Äê3ÔÂ6ÈÕ10:36:48*/
function checkSelect(id, msg){
var checks = $(id).getElementsByTagName("input");
var flag=false;
if(checks.length!=null){
for(var i=0;i<checks.length;i++){
if(checks[i].type=="checkbox" && checks[i].checked==true){
flag=true;
}
}
}
if(!flag){
return confirm(msg);
}
return true;
}
Ô­´´ÎÄÕ£¬×ªÔØ×¢Ã÷£¡


Ïà¹ØÎĵµ£º

JavaScript³£Ó÷½·¨×ܽᗗIE¹¦ÄÜ»ã×Ü

IE¹¦ÄÜ»ã×Ü
<OBJECT id=WebBrowser height=0 width=0
classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2></OBJECT>
<INPUT onclick=document.all.WebBrowser.ExecWB(1,1) type=button value=´ò¿ª name=Button1>
<INPUT onclick=document.all.WebBrowser.ExecWB(4,1) type=button value=Áí´ ......

JavaScript ³õ¼¶½Ì³Ì

ÔÚÊý°ÙÍòÕÅÒ³ÃæÖУ¬JavaScript ±»ÓÃÀ´¸Ä½øÉè¼Æ¡¢ÑéÖ¤±íµ¥¡¢¼ì²âä¯ÀÀÆ÷¡¢´´½¨cookies£¬µÈµÈµÈµÈ¡£
JavaScript ÊÇÒòÌØÍøÉÏ×îÁ÷ÐеĽű¾ÓïÑÔ£¬²¢ÇÒ¿ÉÔÚËùÓÐÖ÷ÒªµÄä¯ÀÀÆ÷ÖÐÔËÐУ¬±È·½Ëµ Internet Explorer¡¢ Mozilla¡¢Firefox¡¢Netscape¡¢ºÍ Opera¡£
ʲôÊÇ JavaScript£¿
JavaScript ±»Éè¼ÆÓÃÀ´Ïò HTML Ò³ÃæÌí¼Ó½»»¥ÐÐΪ¡£ ......

JavascriptÖжÔÏóµÄ»ù±¾Ó÷¨

ÉùÃ÷£º
function person(name, country)
{
this.name = name;
this.country = country;
}
ʵÀý»¯¶ÔÏó£º
var theauthor = new person('Daniel', 'U.S.A.');
ÒýÓãº
function sayHello(objPerson)
{
return "Hello " + objPerson. ......

javascriptÊäÈëÆ¥Åä

<style>
ul,li{margin: 0; padding: 0;width:100%;}
</style>
<script language="javascript" type="text/javascript">
function checkword()
{
   var wordvalue=document.getElementById("word").value.toLowerCase();
   var alltxt="admin¹ÜÀíÔ±|appleÆ»¹û|allÈ«|big´ó|b ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ