jquery - Getting images from a folder doesn't work on server -


Below is my code that is working 100% on local host. But when I hosted then nothing in it Do not get me to do something else?

  var dir = "images / print / thumb /"; Var file extension = [".pngg", ".jpg", ".gif"]; $ .Ajax ({url: dir, success: function (data) {$.}. Find ("a: in (" + (file extension [0] + +) ", A: in it (" + (file extension [1] "+"), A: In this ("+ (file extension [2]) +") "). Each (function () {var filename = this.href.replace (window.location," "). Replace ("Http: ///", ""); var tag = '& lt; div class = "thumb_div"' tag; = 'style = "height: 150px; margin-right: 10px; margin-down: 8 Px; float: left; overflow: hidden; border: 2px solid white; background color: white; "gt; tag + = ' 


Comments