急急急,这样的代码要怎么写? 本帖最后由 okok911 于 2011-08-21 11:08:52 编辑 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>无标题文档</title><script type="text/javascript">window.onload = function() { document.getElementById('down_load_false').onclick = function() { return false; } document.getElementById('btn').onclick = function() { document.getElementById('down_load_false').onclick = function() { return true; } }}</script></head><body><div id="down_load_false" ><A title="表格式记忆.rar" href="http://www.baidu.com/attachme/23324906.rar">表格式记忆.rar</A><input type="button" id="btn" value="接触锁定" /></div></body></html> onclick return false; 就好了 <A id="mylink" title=表格式记忆.rar href="http://www.baidu.com/attachme/23324906.rar" onclick="return false;">表格式记忆.rar</A>function download(){ } mylink.onclick="return true";} 如何通过JS替换锚文本 firefox全屏问题的解决 急 js表单提交第一成功,再提交就不访问资源了,附代码,恳请高手帮忙 给下拉框赋值的问题----出错了 请问在一个PHP页面里直接写JS可以吗,新手 菜鸟问题,eval怎么把一个字符串解成一个数组? [急]麻烦大家推荐一本javascript方面较好的书籍. 新手的问题,希望大神帮忙,问题看注释的地方 关于树型目录的问题 这段加密JS怎么解~! 利用网上MSClass.jsp做滚动效果时,显示的内容会重复一次。 ie6不兼容asp页面js提示错误:类不可能支持automation
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<script type="text/javascript">
window.onload = function() {
document.getElementById('down_load_false').onclick = function() {
return false;
}
document.getElementById('btn').onclick = function() {
document.getElementById('down_load_false').onclick = function() {
return true;
}
}
}
</script>
</head><body>
<div id="down_load_false" >
<A title="表格式记忆.rar" href="http://www.baidu.com/attachme/23324906.rar">表格式记忆.rar</A>
<input type="button" id="btn" value="接触锁定" />
</div>
</body>
</html>
onclick return false; 就好了
mylink.onclick="return true";
}