Loading a remote JSON file.

Loading a remote JSON file.

Hi, I am having problems trying to load an external JSON file.  I have established the file exists on the server but now want to use it to make a list.

This is the JSON file I am using:

  1. var employees = [
    { "firstName":"John" , "lastName":"Doe" }, 
    { "firstName":"Anna" , "lastName":"Smith" }, 
    { "firstName":"Peter" , "lastName": "Jones" }
    ];



But unsure using JQuery how I access it to return an array.

Thanks in advance.