I was trying to load a json file in Collection of BackboneJS. While trying to run this through nodeJS server, it works fine. But once put in a server environment like XAMPP or even in a remote server it does not work? Any link would be a nice help. ( For reference my code is at github : https://github.com/saumya/backboneJS-basics )
thanks
Hey thanks for the helping hand. Probably I did not understand the situation, so the question is not correct as I see now.
The modified question is:
The answer of @Floby is the way I solved it. Its the CORS thing on the server which provides the JSON. It took me sometime to understand what is happening.