我已經張貼在這裏的樣本停止JQuery的TMPL - http://jsfiddle.net/bizl/tSVHu/如何從貌似四捨五入長的數字
這個簡單數組的長期價值得到改變 - 特別是結束9或7號得到chnaged 8(所以它不是很圓)。我不明白爲什麼
var a = [
{ "id": 13532811000001109, "name": "Dabigatran etexilate 110mg capsules", "Group": "High Risk", "VPID": 13532811000001109 },
{ "id": 13532911000001104, "name": "Dabigatran etexilate 75mg capsules", "Group": "High Risk", "VPID": 13532911000001104 },
{ "id": 13532811000001109, "name": "Pradaxa 110mg capsules (Boehringer Ingelheim Ltd)", "Group": "High Risk", "VPID": 13532811000001109, "APID": 13505411000001109 },
{ "id": 13532911000001104, "name": "Pradaxa 75mg capsules (Boehringer Ingelheim Ltd)", "Group": "High Risk", "VPID": 13532911000001104, "APID": 13504711000001102 }
];
的jsfiddle一點兒也不工作 – anderssonola
對不起,已經更新 – bizl
請問ID的相互矛盾?小提琴工作正常,你只需要在文本框中輸入文本,然後刪除它。 – Charlie