jquery .map is not working on IE 10
问题 I have this jquery code: $("#tf_zoom").live("click", function () { var n = $(".tf_thumbs").find("img").attr("src"); var modelid = n.substr(43); $.post("models/get_gallery", { "modelid": modelid }, function (data) { var imagespathes = $(data).map(function (key, url) { return ({ href: '<?php echo base_url();?>assets/uploads/files/' + url }); }); console.log(imagespathes); $.fancybox.open(imagespathes); }, "json"); }); and this is my html: <div id="tf_thumbs" class="tf_thumbs"> <span id="tf_zoom