javascript嵌入在html为什么用servlet不能读取
html中嵌入 function fsubmit() { if(searchForm.rcond[0].checked) { searchForm.action = "list?cond=all"; window.alert("您已经点击该按钮"); } else if(searchForm.rcond[1].chenked) { searchForm.action = "list?cond=precision"; } else { searchForm.action = "list?cond=keyword"; } } 在servlet中用 String condition = request.getParameter("cond"); 读取不出来condition显示为null;这是为什么
你的采用什么样的方式提交的呢,是post吗引用 你的采用什么样的方式提交的呢,是post吗 恩是啊 给各答案吧............... HTML code: <form onsubmit="fsubmit(this);"> <!--other codes--> </form> [code=JScript] function fsubmit(searchForm) { if(searchForm.rcond[0].checked) { searchForm.action = "list?cond=all"; window.alert("您已经点击该按钮"); } else if(searchForm.rcond[1].chenked) {
相关问答:
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.IO; using Syst ......
我在jsp页面查询到数据库中的一笔数据,并以table循环的形式显示,但需要下载保存成html格式,请问应该处理?代码有没有特殊要求?是不是需要特别的jar包? 你这是把报表保存为HTML格式,不知有什么用处, 要是 ......
如题,在WINDOWS底下的CODE会,但在LINUX下不知道如何实现,JS的代码应该是不一样的。 求教。 分不够再加。 http://topic.csdn.net/u/20100113/08/17ba1e71-4c33-43f6-91a5-0e031c86e5ed.html linux ......