天天看點

JS Format函數

//擴充方法

調用:

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

 var

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