易截截图软件、单文件、免安装、纯绿色、仅160KB

ajax不能获取txt的中文 - Java / Web 开发

换成字母就可以。ajax实现菜单效果


<head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"></head>
<style type="text/css">
.menutop
{
color:#ccccff;
background-color:#0066ff;
text-decoration:underline;
cursor:hand;
border-right:#009999 thick double;
border-top:#009999 thick double;
border-left:#009999 thick double;
border-buttom:#009999 thick double;
}
.menulist{
color:#ff6600;
background-color:#33ccff;
display:none;
}
</style>
<script type="text/javascript">
function listmenu()
{
  //judge if the menu is opened
  var menudom=document.getElementById("menu");
  //if unopened,get the data from server,else,hided the data
  if(menudom.style.display=="none"||menudom.style.display=="")
  {
  //get the method of data from server
  getData();
  menudom.style.display="list-item";
  }
  else
  {
  menudom.style.display="none";
  }
}
var xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
function getData()
{
  //the method about when the state is changed


  xmlhttp.


相关问答:

Ajax无刷新下载 请各位大虾们帮帮忙啊~

<script language="javascript">
  var XMLHttpReq;
  var cont=true;
//创建XMLHttpRequest对象     
    function createXMLHttpRequest ......

关于AJAX和JSP的一些小问题~ - Java / Web 开发

我JSP的页面是:
<%@ page language="java" contentType="text/html; charset=gb2312"
  %>
<script>
function Save(){
xmlHttp=GetXmlHttpObject()
if(xmlHttp==nul ......

jquery中向ajax问题 - Web 开发 / JavaScript

我在一个html中写如下代码:
JScript code:
<html>
<head>
<script type="text/javascript" charset="utf-8"
src="script/jquery-1.3.2.min ......

php跟jsp之间session共享的问题 - Java / Web 开发

最近一个项目中遇到一个问题:在原有的一套系统中(php开发)添加一些小功能(jsp开发),原来用户系统都是php开发的,我如何在jsp开发的功能中做到用户信息session同步呢? 有人是否有做过类以项目,想听听大家的看法
......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号