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

JavaScript ¶ÁÈ¡ XMLÎļþ

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<mce:style type="text/css"><!--

table,tr,td {
background-position: center;
border-width: 1px;
border-style: solid;
border-collapse: collapse;
border-color: blue;
text-align: center;
font-size: 20px;
}
table {
width: 800px;
margin-bottom: 20px;
}
tr {
height: 40px;
}
.bordertyle {
font-family: sans-serif;
text-align: center;
}

.btn {
margin-left: 30px;
margin-right: 30px;
}
label {
font-size: 20px;
font-family: sans-serif;
}
--></mce:style><style type="text/css" mce_bogus="1">
table,tr,td {
background-position: center;
border-width: 1px;
border-style: solid;
border-collapse: collapse;
border-color: blue;
text-align: center;
font-size: 20px;
}
table {
width: 800px;
margin-bottom: 20px;
}
tr {
height: 40px;
}
.bordertyle {
font-family: sans-serif;
text-align: center;
}

.btn {
margin-left: 30px;
margin-right: 30px;
}
label {
font-size: 20px;
font-family: sans-serif;
} </style>

<mce:script language="javascript"><!--


//***********js²Ù×÷XML*************
//* author:luobin *
//* Email:luobin23628@163.com *
//*********************************
/*
function loadXML(xmlFile){
var xmlDoc;
if(!window.ActiveXObject){
var parser = new DOMParser();


Ïà¹ØÎĵµ£º

JAVA²Ù×÷XMLµÄÍêÕûÀý×Ó——W3C DOMƪ

ÕâÊÇÒ»¸öÓÃJAVA W3C DOM ½øÐÐXML²Ù×÷µÄÀý×Ó£¬°üº¬Á˲éѯ¡¢Ôö¼Ó¡¢Ð޸ġ¢É¾³ý¡¢±£´æµÄ»ù±¾²Ù×÷¡£½ÏÍêÕûµÄÃèÊöÁËÒ»¸öXMLµÄÕû¸ö²Ù×÷Á÷³Ì¡£ÊʺϸÕÈëÃÅJAVA XML²Ù×÷µÄÅóÓѲο¼ºÍѧϰ¡£
¼ÙÉèÓÐXMLÎļþ£ºtest1.xml
<?xml version="1.0" encoding="UTF-8"?>
<books>
 <book>
  <name>¹þÀï²¨Ì ......

ÉîÈëdz³öJavaScript£¨Ò»£©

Beginning JavaScript with Dom Scripting and Ajax
ÉîÈëdz³öJavaScript
ͼÁé³ÌÐòÉè¼Æ´ÔÊé
    web¿ª·¢ÏµÁÐ
×÷Õß  Christian Heilmann [µÂ]
µÚÒ»Õ    JavaScriptÈëÃÅ
±¾ÕÂÖ÷Òª½éÉÜ£º
      * JavaSriptÊÇʲôÒÔ¼°ËüµÄ¹¦ÓÃ
     ......

javascript >java

1.JSP
<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>My JSP 'index.jsp' starting page</title>
 <meta http-equiv= ......

ÕÅТÏêjavascript½²×ù±Ê¼ÇËÄ

Ò»£¬È«¾Ö±äÁ¿ºÍ¾Ö²¿±äÁ¿µÄ±È½Ï
    <script type="text/javascript">
<!--
var msg = 'È«¾Ö±äÁ¿';
function show()
{
msg = '¾Ö²¿±äÁ¿'; //ÐÞ¸ÄÈ«¾Ö±äÁ¿µÄÖµ
}
show();
alert(msg); //´ËʱµÄֵΪ‘¾Ö²¿±äÁ¿’
//-->
</script> <script type="text/javascript" ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ