怎么才能点击这个 button ,新开一个页面呢? <input type= "button" name= "query " id= "query " value= "query " onclick= "javascript:window.location.href= 'xxxxx.jsp' "/>怎么才能点击这个 button ,新开一个页面呢? button 中没有 target="_blank" 这个 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 window.open( [sURL] [, sName] [, sFeatures] [, bReplace]) 支持以上几楼就是这样<input type= "button" name= "query " id= "query " value= "query " onclick= "javascript:window.open= 'xxxxx.jsp' "/> 在button按钮中有个onClick事件例如onClick="buttonMehthod()"function buttonMehthod(){window.open( "页面名称","","");} 在button按钮中有个onClick事件例如onClick="buttonMehthod()"function buttonMehthod(){window.open( "页面名称","","");} window.showModalDialog(‘页面’, window,"dialogWidth:700px;dialogHeight:480px;scroll:no;status:1;help:no;resizable:no;");或者function buttonMehthod() { window.open( "页面名称","",""); }两者应该都可以的!! 表单提交 email值发生了变化 少了@ 一段总是报错的JSP iis+tomca结合后,tomcat可以支持asp吗? session丢失 急。Tomcat里的WEB。XML的工作原理 请教一个问题 高手进 浏览过此商品的用户还浏览过什么什么其他商品!! 一道应聘题目 哪位帮我看看tomcat启动时报的这些错误怎么解决,感激不尽... 自己写的一个JSP页面静态化,有兴趣的可以进来讨论 applet和Servlet之间通讯抛java.io.EOFException异常 linux中发布怎么web应用?
就是这样
<input type= "button" name= "query " id= "query " value= "query " onclick= "javascript:window.open= 'xxxxx.jsp' "/>
例如onClick="buttonMehthod()"
function buttonMehthod(){
window.open( "页面名称","","");}
例如onClick="buttonMehthod()"
function buttonMehthod(){
window.open( "页面名称","","");}
function buttonMehthod() {
window.open( "页面名称","",""); }两者应该都可以的!!