天天看点

JS Format函数

//扩展方法

调用:

var strTableTemplate = "<td>{0}-{1}-{2}</td>"

 var

strTemplate = $.GM.Format(strTableTemplate, str1,str2,str3);