var dateTime = arry.parameterType[i].crtdat;var mydate=dateTime.substr(0,10); var mytime=dateTime.substr(11,11);
value1 = $(‘#userResult‘).html().replace("kg",""),//体重值
var strsH= new Array(); //定义一数组
strsH=GetLocationParam("numValue").split(","); //字符分割
js截取
原文地址:http://www.cnblogs.com/rockyan/p/8046685.html