嗨,这是我的代码的一部分。 我需要将数组中的每个图像链接到不同的URL。 这是甚至有可能从内部做到这一点,如 dataArrClothes.push(["imagename.jpg","<a href="someurl"></a> "Description"]);
任何帮助,非常感谢。Javascript,如何将数组元素链接到不同的URL
var dataArrClothes = new Array();
dataArrClothes.push(["imagename.jpg", "Description"]);
dataArrClothes.push(["imagename.jpg", "Description"]);
对不起,我不明白你想要什么。你能更清楚吗? – 2012-02-23 21:00:09
可以更详细地解释“将图像链接到不同的URL”是什么意思? – 2012-02-23 21:01:10