![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
js
fsi199773
这个作者很懒,什么都没留下…
展开
-
js页面回退
function weitongguo(){ history.back(-1); }原创 2011-05-31 17:19:38 · 461 阅读 · 0 评论 -
jsp页面删除调用js写的confim
[img]http://dl.iteye.com/upload/attachment/492024/3d76af99-849e-39a6-b2e4-a8b6506ed029.jpg[/img]原创 2011-06-02 09:21:04 · 121 阅读 · 0 评论 -
js中disable的使用
<input id="mytext" type="text" value="我是不能用的"><input type="button" value="disabled" onClick="javascript: document.all.mytext.disabled='false'"><input type=&q原创 2011-08-12 10:39:49 · 2775 阅读 · 0 评论 -
鼠标方上去切换
<!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><原创 2011-08-12 10:55:34 · 96 阅读 · 0 评论 -
链接去除焦点
onfocus="this.blur();"原创 2011-08-12 12:38:45 · 98 阅读 · 0 评论 -
java代码引入网页
原创 2011-08-12 14:25:06 · 153 阅读 · 0 评论 -
删除字符串左右两端空格
function trim(str){ //删除左右两端的空格 return str.replace(/(^\s*)|(\s*$)/g, ""); }原创 2011-08-12 16:00:07 · 409 阅读 · 0 评论 -
(转)getElementByid ,ByName ByTagName三者区别
[size=large]getElementByid ,getElementsByName getElementsByTagName三者区别getElementById:语法: document.getElementById(id)参数:id :必选项为字符串(String)返回值:对象; 返回相同id对象中的第一个,如果无符合条件的对象,则返回 nullexample:d...原创 2011-04-11 10:15:23 · 145 阅读 · 0 评论 -
js拼字符串,显示在页面上,出现undefined字样处理办法
首先,你需要明白为什么会出现undefined,这个东西是什么?undefined是说明你所使用的对象未定义,为什么会未定义?例如:var str;str = str+"<table><tr><td>1111</td></tr></table>";$("#strId").html(原创 2014-01-19 01:05:42 · 2576 阅读 · 2 评论