不能使用$ .getJSON

I am trying to get an answer from my server. Merely get the var json.src = "http://image/path/file.jpg" from the server but I can't even get into the getJSON function whatsoever.

JSFiddle

I must be neglecting something, but I can't use $.getJSON, nor $.get Would appreciate any help Thanks

This wont work if you're trying to load content from a different server to that on which the request is being made. This is due to Same Origin Policy.

Also, what's with the image url in your question? That's not JSON.