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

Javascript±éÀúHtml Table(°üÀ¨ÄÚÈÝºÍ ÊôÐÔÖµ)


1: ±éÀú²¢Êä³öTableÖÐÖµ
<table id="tb">
    <tr>
       <td></td>
    </tr>
    <tr>
       <td></td>
    </tr>
</table>
function   f()
{
    var t=document.getElementById("tb").childNodes.item(0);
    for(var i=0;i< t.childNodes.length;i++)
    {
       for(var j=0;j<t.childNodes(i).childNodes.length;j++)
          {
             alert(t.childNodes(i).childNodes(j).innerText);
          }
    }
}
2: ±éÀúTable£¬¶ÁÈ¡CheckBox״̬ºÍÆäËûColumnÖµ
<!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">
<head>
     <title>Untitled Page</title>
</head>
<body onload="f()">
     <script type="text/javascript">    
         function   f()
         {
            var t=document.getElementById("tb").childNodes.item(0);
           
            for(var i=0;i< t.childNodes.length;i++)
            {
            alert(t.childNodes(i).firstChild.firstChild.nodeValue);
            alert(t.childN


Ïà¹ØÎĵµ£º

ÀûÓÃJavaScriptʵÏÖÉÏ´«Í¼Æ¬Ô¤ÀÀ

<script >
function showimage()

       //IMG1ΪͼƬ¿Ø¼þ»òDiv,File1ΪÉÏ´«Îļþ¿Ø¼þ
document.getElementById("IMG1"). src = document.getElementById("File1").value;
}
</script >
¿Ø¼þÖÐÒýÓÃ:
<input id="File1" runat="server" type="file"  onc ......

JavaScript ¶ÔÏó×ÖÃæÁ¿

http://bei123wang.blog.163.com/blog/static/23175492009113022048840/
JavaScript ¶ÔÏó×ÖÃæÁ¿
javascript 2009-12-30 14:20:48 ÔĶÁ7 ÆÀÂÛ0 ×ֺţº´óÖÐС
JavaScript ¶ÔÏó×ÖÃæÁ¿
ÔÚ±à³ÌÓïÑÔÖУ¬×ÖÃæÁ¿ÊÇÒ»ÖÖ±íʾֵµÄ¼Ç·¨¡£ÀýÈ磬"Hello, World!" ÔÚÐí¶àÓïÑÔÖж¼±íʾһ¸ö×Ö·û´®×ÖÃæÁ¿£¨string literal £©£¬JavaScript ......

Javascript »õ±Ò¸ñʽ»¯º¯Êý

ƽʱÎÒÃÇÓпÉÄÜÓöµ½ÐèÒª°ÑÍøÕ¾ÖеÄÊý×Ö£¨Í¨³£ÊǼ۸ñ£©ÓÃÒ»ÖÖͳһµÄ·½Ê½ÏÔʾ³öÀ´£¬±ÈÈçÿ¸ô3¸ö×Ö·û¼ÓÒ»¸ö¿Õ¸ñ¡£Èç¹ûÊýÖµ±È½Ï´óµÄ»°ÕâÖÖ·½·¨ºÜÓÐÀûÓÚÓû§ÔĶÁ¡£
ÓÃXSLTµÄÅóÓÑ¿ÉÄÜÖªµÀÔÚXSLÖпÉÒÔÓÃÈçÏ´úÂëʵÏÖ
<xsl:decimal-format name="currency" decimal-separator="." grouping-separator=" "/>
½ñÌìÑо¿ÁËһϠ......

HTML ¿ò¼Ü noframes ×÷ÓÃ

<html>
<frameset cols="25%,50%,25%">
 <frame src="/example/html/frame_a.html">
 <frame src="/example/html/frame_b.html">
 <frame src="/example/html/frame_c.html">
<noframes>
<!--  ÔÚä¯ÀÀÆ÷²»Ö§³ÖÊ ......

HTMLͼƬÐýת

<html>
<head>
<title> </title>
<script type="text/javascript">
function rotateImage() {
imageToRotate = document.getElementById('imgRotate');         
imageToRotate.style.filter= "progid:DXImageTransform.Microsoft ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ