I've made a test fiddle here: http://jsfiddle.net/BjLdQ/2
Where I can enter the number 1 for each HTML field and then I press the login button and I get the JSON back as:
{"code":"2"}
So in my mind, I should be able to do the same with jQuery so I press the (Login Jquery Ajax) text and nothing happens, in jsfiddle or from my local machine?
Any help would be most appreciated.
XMLHttpRequest cannot load https://api.searchningbo.com/user/login. Origin http://fiddle.jshell.net is not allowed by Access-Control-Allow-Origin.