AJAX品牌选择问题页面
http://www.diybl.com/ 2008-3-8 网络 点击:
[ 评论 ]
文章搜索:
【点击打包该文章】
<html>
<head>
<script language="javascript">
var xmlHttp;
var select1=null;
function check(){
var select1=document.getElementById("de").value;
if(window.ActiveXObject){
xmlHttp = new ActiveXObject("Microsoft.XmlHttp");
}else if(window.XmlHttpRequest){
xmlHttp = new XmlHttpRequest();
}
xmlHttp.open("GET","list?select="+select1,true);
xmlHttp.send(null);
xmlHttp.onreadystatechange = processResponse;
}
function processResponse(){
if(xmlHttp.readyState==4){
if(xmlHttp.status==200){
var tt=xmlHttp.responseXML.getElementsByTagName("name");
var product=document.getElementById("dd");
如果图片或页面不能正常显示请点击这里 站内搜索:
推荐文章 |
