- 博客(4)
- 资源 (9)
- 收藏
- 关注
原创 一个js去掉空格例子
test String.prototype.trim=function(){ return this.replace(/(^\s*)|(\s*$)/g, ""); } String.prototype.ltrim=function(){ return this.replace(/(^\s*...
2009-12-28 22:15:27 48
原创 一个js去掉空格的例子
test String.prototype.trim=function(){ return this.replace(/(^/s*)|(/s*$)/g, ""); } String.prototype.ltrim=function(){ return this.replace(/(^/s*)/g,""); } String.prototype.rtrim=function(){ re
2009-12-28 22:05:00 325
原创 js通过隐含文本传递值到令外一个JS中不使用return方法得到的例子
function s(id){document.getElementsByName("tt")[0].value = id; } function t(){var t=document.getElementsByName("tt")[0].value;alert(t);}
2009-12-17 22:43:00 195
原创 html 中利用js调用隐藏div模仿对话框小例
function locking(){ document.all.ly.style.display="block"; document.all.ly.style.width=document.body.clientWidth; document.all.ly.style.height=document.body.clientHeight; do
2009-12-14 00:27:00 1000
spring jar包
2010-06-23
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人