常用Javscript API

字符串转日期型
Code
var nowDate=String.toDate("yyyy-MM-dd","2009-08-05");

实现String.format
Code

用法如下:
String.format("I am {0}, you are {1}","a","b");

导入JS 和 css 文件
Code

 

获得高度Top,Left的绝对位置,来之于JTips

Code 

posted @ 2009-08-28 15:30  沉默的糕点  阅读(230)  评论(0)    收藏  举报