Secure Ajax call

Ajax
I have a dataTable with server-side processing but I don't know how to secure the ajax call because if anyone go to the ajax php file can read all the...
3 years ago

Load multiple JS files sequently after page load

Ajax
To speed up the page loading time, I want to load the JS scripts after the page content has loaded. I found this helpful article which explains how t...
3 years ago

Javascript conflicts to my css of Admin LTE theme

Ajax
I am using Admin Lte Theme and I used this JS file for my AJAX call below all JS file in this theme. When i add this file, it conflicts my CSS. Toggl...
3 years ago

API does not get any post data from ajax call

Ajax
I am trying to send data in ajax post call. but this doesnot sent any data. My html form is <form> <div class=...
3 years ago

Convert .js.erb to js.haml

Ajax
I have an ajax code that removes posts from the page: $("#post_delete").on("ajax:success", function(data){ $("#<%= j @post.id.to_s %>").fadeO...
3 years ago

check email if valid/duplicate from database using codeigniter

Ajax
i have a code from tutorial that doesn't work well. I don't know why, i am a beginner in codeigniter. I want to submit the button update, if duplicate...
3 years ago

how to make a request to other domain using javascript only

Ajax
I have to make a request to my project URL from the other websites. I created a script file which will be loaded to other websites. The script should ...
3 years ago

How to make a disqus comments javascript code to work in a polymer custom element

Ajax
I'm using polymer starter kit 2.0 Structure of nested custom elements: (meaning that <my-app></my-app> is inside index.html etc.): | in...
3 years ago

Bootstrap Confirmation Does not work with ajax call

Ajax
Where is the possible problem, I have a service that returns a json, use this returns to ride my table. If I leave the statisc record it works the pl...
3 years ago

jquery.validate showErrors() triggered multiple times?

Ajax
In my test program, I use jquery.validate plugin to check user input fields as so: <script src="js/jquery-1.12.4.min.js"></script> <sc...
3 years ago

Loop through submit buttons and post to MySQL w/ ajax

Ajax
I currently have a form(s) that gets created based on the number of rows in the DB. Each row gets pulled in to its own form where data is editable. Ea...
3 years ago

How to clear form after ajax submit?

Ajax
I have a small contact form. Sending messages is working but the form stays with text after submitting. I searched and tried some code to clear it wit...
3 years ago

How can I get a callback from a JSON request

Ajax
How do I handle the response of a JSON request? I tried using this site http://www.json.org/JSONRequest.html, but had no success! ...
3 years ago

How can i send two parameters using ajax url

Ajax
i am trying two send two values to new page i am new to jquery how can i concatinate them: The Error is in location line ('') here my ajax cod...
3 years ago

How can I get an access token Spotify API?

Ajax
I've been looking at the Spotify api for a few days now and example source code and I still can't figure out how to get an access token to access a us...
3 years ago

AJAX / Jquery XML parse

Ajax
I am trying to parse the following type of XML (data from getMembers.php): <?xml version="1.0" encoding="ISO-8859-1"?> <members> <i...
3 years ago

append jquery ajax (json) to table

Ajax
I have a ajax call that retreives data and its success portion looks like this: $("table.table").append("<tr><td>ID: " + item.ID + "</...
3 years ago

AJAX : What is the equivalent function of beforeSend function in XMLHttpRequest

Ajax
In $.ajax there is beforeSend function, but now I'm trying to use XMLHttpRequest, I'm looking for equivalent function of beforeSend in $.ajax. How can...
3 years ago

How and where to save data I receive from an ajax call?

Ajax
I'm doing an ajax request and I want to save data I receive from it on a page as oppossed to saving it in a variable. How can I do that?
3 years ago

can't get the right index result with an ajax call

Ajax
I was trying to iterate the 'streamers' array by the variable showindex but failed,it just shows the first element "monstercat" and last element "amaz...
3 years ago