js带参数提交到servlet的代码怎么写

[复制链接]
查看11 | 回复2 | 2009-2-8 18:43:33 | 显示全部楼层 |阅读模式
我只想知道是哪个具体的方法可以实现 用不上xml的

回复

使用道具 举报

千问 | 2009-2-8 18:43:33 | 显示全部楼层
那就是ajax的内容了 你等等我发给你 var xmlhttp; function checkname(status) { var name = document.getElementsByName("name")[0].value; xmlhttp = new createxml(); var temp; temp=(new Date()).valueOf(); xmlhttp.open("get", "servlet/checkname?status="+status +"&name=" + encodeURI(encodeURI(name))+"&time="+temp , true); xmlhttp...
回复

使用道具 举报

千问 | 2009-2-8 18:43:33 | 显示全部楼层
function checkrepass(){
with(document.ULForm){ if(lostrepassWord()){
action = "/jsppos/PasswordModify"; }else{
retu...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行