Answers for "$(getJson) returning error"

0

$(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 );
    }
  });
Posted by: Guest on June-20-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language