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

javascript½âÎö·µ»ØµÄxml¸÷ʽµÄ×Ö·û´®

<script>
var flags ;
  if(window.XMLHttpRequest) { 
   XMLHttpReq = new XMLHttpRequest(); //firefoxÏÂÖ´ÐдËÓï¾ä
   }
   else if(window.ActiveXObject) {
    try{
    XMLHttpReq = new ActiveXObject("Msxm12.XMLHTTP");
    }catch(e){
     try{
     XMLHttpReq = new ActiveXObject("Microsoft.XMLHTTP");
     }catch(e) {}
    }
   }
   XMLHttpReq.open("post","getDate.jsp",false);
   XMLHttpReq.setRequestHeader("CONTENT-TYPE","application/x-www-form-urlencoded;charset=UTF-8");
   XMLHttpReq.onreadystatechange = function () {
   var statePending = XMLHttpReq.readyState;
   if (statePending == 4&& XMLHttpReq.status==200)
   {
    if(window.ActiveXObject){
     xmlDoc = new ActiveXObject('Microsoft.XMLDOM');
     xmlDoc.async = false;
     xmlDoc.loadXML(XMLHttpReq.responseText.replace(/(^\s*)/g, ""));
    } else if (document.implementation&&document.implementation.createDocument){
     XMLHttpReq.open("GET",XMLHttpReq.responseText.replace(/(^\s*)/g, ""),false);
     XMLHttpReq.send(null);
     xmlDoc = XMLHttpReq.responseXML;
     //return new XMLSerializer().serializeToString(xmlDoc);
    }
    flags = xmlDoc.getElementsByTagName("content");
   }
   }
   XMLHttpReq.send(null);
   for(var i =0;i<flags.length;i++)
   {
   var content = flags[i]; //µÃÒ»¸öcontent½á


Ïà¹ØÎĵµ£º

.net ³ÌÐò·¢²¼ºóxmlÎļþÕÒ²»µ½µÄÁ½ÖÖ½â¾ö·½·¨

×Ô¼º×öÏîÄ¿ÐèÒªÓÃÖÇÄܿͻ§¶Ë·¢²¼£¬ÎÒÓöµ½Á˸öÎÊÌâ¾ÍÊdzÌÐòÖеÄxmlÎļþÔÚ·¢²¼ºóÕÒ²»µ½ÁË¡£¾­¹ýÔÚÍøÉϲéѯºÍ×Ô¼ºµÄÊÔÑé·¢ÏÖÕâÁ½¸ö·½·¨¶¼¿ÉÒÔ½â¾öÕâ¸öÎÊÌâ¡£
·½·¨1
    ÓÒ¼üwinUIÏîÄ¿£¬·¢²¼-¡µÓ¦ÓóÌÐòÎļþ....->Ñ¡ÔñxmlÎļþ-¡µ·¢²¼×´Ì¬¸ÄΪ“Êý¾ÝÎļþ(×Ô¶¯)”
   
 &nb ......

Asp.netÖÐ×Ô¶¨Òå¿Ø¼þÒýÓÃjavascriptÖеÄÈÕÀú½Å±¾ÐĵÃ


×Ô¶¨Òå¿Ø¼þÖеÄÒ³Ãæ´úÂ룺
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="wcontrol.ascx.cs" Inherits="wcontrol" %>
<script type ="text/javascript">
function PopupCalendar(InstanceName)
{
///Global Tag
this.instanceName=InstanceName;
///Properties
this.separator="-"
t ......

xml£¬jsp,dtd,xsd ÌáʾÐÅÏ¢

½øÈëMyEclipse6.XÏÂ
Ð޸ģºeclipse.ini Îļþ
-Duser.language=en
¸Ä³É
-Duser.language=zh
µ¯³öÌáʾ£ºCtrl+"/"
dtd ÃüÃû¿Õ¼äµÄÌáʾÐÅÏ¢
window-->Preference-->xml-->XML Catalog-->add
Location :sql-map-2.dtd
key type :pubic ID
key:-//ibatis.apache.org//DTD SQL Map 2.0//EN (XMLÎļþÃüÃû¿Õ¼ ......

JavaScript¿ØÖÆcheckboxȫѡ£¬ÒÔ¼°»ñÈ¡checkboxÎı¾

ÕâÀÂǵÄÊÇ.net·þÎñÆ÷¿Ø¼þcheckbox»òcheckboxList£»
¼ÙÉèÒ³ÃæÈçÏ£¬chkDepartÊDz¿ÃÅ£¬chkPeopleÊÇËùÊô²¿ÃŵÄÈËÔ±
<div style="text-align: center" mce_style="text-align: center" width="95%" class="tab">
<asp:DataList ID="DataList1" ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ