I'm using jQuery and Ajax for my forms to submit data and files but I'm not sure how to send both da
I have a javascript app that sends ajax POST requests to a certain URL. Response might be a JSON string or it
I am trying to create a basic authentication through the browser, but I can't really get there. If this
I have a Struts2 action in the server side for file downloading. <action name="download" class="com.xxx.Do
Here are two pages, test.php and testserver.php. test.php <script src="scripts/jq.js" type="text/javascri
Recently I have started playing with jQuery, and have been following a couple of tutorials. Now I feel slightl
In the code below, the AngularJS $http method calls the URL, and submits the xsrf object as a "Request Payload
I'm getting this error using ngResource to call a REST API on Amazon Web Services: XMLHttpRequest cannot
I am using Ajax and hash for navigation. Is there a way to check if the window.location.hash changed like th
How do I send a cross-domain POST request via JavaScript? Notes - it shouldn't refresh the page, and I n
I've got a problem sending a file to a serverside PHP-script using jQuery's ajax-function. It's
I'd like to send some data using an XMLHttpRequest in JavaScript. Say I have the following form in HTML:
I've seen a couple questions around here like How to debug RESTful services, which mentions: Unfortun
In my AJAX call, I want to return a string value back to the calling page. Should I use ActionResult or just
I am trying to send data from a form to a database. Here is the form I am using: <form name="foo" action="
How do I make a function wait until all jQuery Ajax requests are done inside another function? In short, I ne
Is there some way I can show custom exception messages as an alert in my jQuery AJAX error message? For examp
Can I use the following jQuery code to perform file upload using POST method of an ajax request ? $.ajax({
How to make an AJAX call using JavaScript, without using jQuery?