Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

$(getJson) returning error

  $.ajax({
    url: 'http://127.0.0.1/path/application.json',
    dataType: 'json',
    success: function( data ) {
      alert( "SUCCESS:  " + data );
    },
    error: function( data ) {
      alert( "ERROR:  " + data );
    }
  });
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #returning #error
ADD COMMENT
Topic
Name
2+7 =