Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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 ÖжÔHTML±àÂëºÍ½âÂëµÄ·½·¨

String.prototype.HTMLEncode = function() {
var temp = document.createElement ("div");
(temp.textContent != null) ? (temp.textContent = this) : (temp.innerText = this);
var output = temp.innerHTML;
temp = null;
return output;
}
String.prototype.HTMLDecode = function() {
var temp = doc ......

ReportViewer JavaScript API


JavaScript API
One of the new features we added to the ASP.Net Report Viewer in Visual Studio 2010 is a JavaScript API to allow you to interact with the viewer on client.  In reading many of the posts on the report controls forum, we found that many people struggle when implementing a custom ......

aspÏÂÔØÆäËüÍøÕ¾µÄͼƬÀ´¸øhtmlÏÔʾ

<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<%
Option Explicit
Response.Buffer = True '»º´æÍ¼Æ¬
Dim objXMLHTTP, XML
Set XML = Server.CreateObject("Microsoft.XMLHTTP") '½¨Á¢ÏÂÔØ¶ÔÏó
XML.Open "GET","http://www.google.cn/images/nav_logo7.png",False '¿ªÊ¼»ñȡͼƬ,http://xxx/pngÕâ½Ú¿ÉÒԸijÉ× ......

javascript ¿ØÖÆ×óÓÒ¼üÅÌ

<html>  
  <head>  
          <script language="javascript">  
                  function MyClick()   ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ