What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-01-28 18:20:01
how to send data using ajax in php
$.ajax({ url: "/something", // the url we want to send and get data from type: "GET", // type of the data we send (POST/GET) data: {p1: "This is our data"}, // the data we want to send success: function(data){ //... Add solution -
Javascript 2021-10-13 12:04:06
how to pass value from javascript to php using ajax
$.ajax({ url: "/something", // the url we want to send and get data from type: "GET", // type of the data we send (POST/GET) data: {p1: "This is our data"}, // the data we want to send success: function(data){ //... Add solution