JavaScript (not to be confused with Java) is a high-level, dynamic, multi-paradigm, weakly-typed language used for both client-side and server-side scripting. Its primary use is in rendering and allowing manipulation of web pages. Use this tag for questions regarding ECMAScript and its various dialects/implementations (excluding ActionScript and Google-Apps-Script).
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
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'd like to send some data using an XMLHttpRequest in JavaScript. Say I have the following form in HTML:
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
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?
I have implemented an Ajax request on my website, and I am calling the endpoint from a webpage. It always retu
I am creating a chat using Ajax requests and I'm trying to get messages div to scroll to the bottom witho
I have a form with name orderproductForm and an undefined number of inputs. I want to do some kind of jQuery.
Since the upgrade to iOS 6, we are seeing Safari's web view take the liberty of caching $.ajax calls. Thi
Is there any way to disable the Same-origin policy on Google's Chrome browser?
As made clear in update 3 on this answer, this notation: var hash = {}; hash[X] does not actually hash the ob