button按钮的onclick事件 改成sumbit按钮更直接,不用写什么函数,要么就做超链接,做成按钮样式的图形 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 什么onclick行不通?<input type="button" value="阅览" onclick="window.location='a.html'" /> <input type="button" value="阅览" onclick="window.location='a.html'" /> 我onclick调用的是javascript函数 onclick="check();" 用这一个<input type="button" value="阅览" onclick="window.location='要跳转的页面.html'" /> 或者用一个表单,表单里的action="要跳转的页面.html"再把<input type="button"改为submit就可以了 <input type="button" value="阅览" onclick="check()"/>function check(){ location.href = 'a.html';} <input type="button" value="阅览" onclick="check() { window.location.href="http://www.hao123.com"; } "/> <input type="button" value="阅览" onclick="check() { window.location.href="http://www.hao123.com"; } "/> check()函数的最后加window.location.href="a.html"; jQuery ajax 返回页面的Html,并非后台Response.Write()出来的值 免费提供Iron gothic 字库 怎样使用JavaScript定义不规则图形 如何操作iframe中的table? ****请教关于sina点点通的问题,是怎么实现的?分不够加!****** javascript从来没写过,求一个定制浮动广告的简单代码(MM)! 这样的该如何实现 关于media媒体播放器的问题!! JavaScript里有记录集的概念吗,怎么从数据库中取数据!!!!急!!!! 关于文字图片移动的一个问题~~~~ 日期控件 每隔5分钟自动生成一次静态页面,有谁做过?在线等
我onclick调用的是javascript函数 onclick="check();"
或者用一个表单,表单里的action="要跳转的页面.html"再把<input type="button"改为submit就可以了
{
location.href = 'a.html';
}
{ window.location.href="http://www.hao123.com";
} "/>
<input type="button" value="阅览" onclick="check()
{ window.location.href="http://www.hao123.com";
} "/>
window.location.href="a.html";