AJAX

AJAX can at times be an excellent tool for User Interface Design

CORS; How To Set HTTP Response Header on IIS Windows Server 2012 R2 to Access-Control-Allow-Origin

When attempting to make an AJAX call are you getting the following error? XMLHttpRequest cannot load (then some path to the remote site). No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://yourAjaxCallingSite.com’ is therefore not allowed access. This means the Server hosting the resource is not set up to be CORS compliant. If… Read more CORS; How To Set HTTP Response Header on IIS Windows Server 2012 R2 to Access-Control-Allow-Origin

Dynamically Change the onClick, onChange (or other) Value of an Element

If you are implementing AJAX, you will likely run into the need to change the functionality of a button dynamically. There is not a whole lot out there on how to quickly accomplish this so here is a simple explanation. Typically, you have an element such as an “input”, “a” or “select (options)” that has… Read more Dynamically Change the onClick, onChange (or other) Value of an Element

What is AJAX

Asynchronous Put the “A” in AJAX The key word is asynchronous. “1.  A process in a multitasking system whose execution can proceed independently, “in the background”. Other processes may be started before the asynchronous process has finished.”—Dictionary.com Most web pages are rather “choppy” because they need to “refresh” themselves, which is a nice way of… Read more What is AJAX