What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-03-23 01:30:18
ajax post request
var formData = {name:"John", surname:"Doe", age:"31"}; //Array $.ajax({ url : "https://example.com/rest/getData", // Url of backend (can be python, php, etc..) type: "POST", // data type (can be ... Add solution -
Javascript 2022-03-17 22:55:12
remove row from table with XMLHttpRequest()
$(document).ready(function(){ // Delete $('.delete').click(function(){ var el = this; var id = this.id; var splitid = id.split("_"); // Delete id var deleteid = splitid[1]; // AJAX Request $.ajax({ url: 'remove.p... Add solution -
Javascript 2022-03-12 08:15:02
call a mvc action from jquery
$.ajax({ // edit to add steve's suggestion. //url: "/ControllerName/ActionName", url: '<%= Url.Action("ActionName", "ControllerName") %>', success: function(data) { // parse your data here ... Add solution