json url data is not showing in console using jquery
$.ajax({
type: "POST", // add type
url: 'file.php',
dataType: 'json', // change dataType to 'json' if its something else
success: function(response) {
console.log(response);
}
});
I hope it will help you.
Namaste _/\_
Also in JavaScript:
- add property with value in js
- show html file on nodejs code
- js num to string with leading 0
- angular limit string length
- firebase cloud functions send email
- apollo server build schema passing parameters to classes
- textinput onpress react native
- react environment variables
- allow downloads from angular website
- js push to start of array
- express get request origin
- cJSON_CreateObject
- react createElement interactive button
- javascript map array
- How to pass a map from controller to javascript function in VF page
- how to use react fragment
- javascript validate date
- javascript looping through object
- switch javascript
- Difference in push and navigate in react Navigation
- react JSON data to display in a table
- find an object from array of objects javascript
- how to get element by class name javascript
- get selected option value jquery