JavaScript functions as arguments, and return values

The definition of lambdas is just anonymous functions that are passed as arguments to functions, or returned as results of function calls. The lambda defines the function, but does not execute it. It is executed by the function it is passed to with arguments decided by that function. Function as »

Use Ajax in HTML; AJAMU

If you want to include content to your blog or website that comes from another source without writing a bunch of JavaScript, this article about AJAMU is for you. Demo The name comes from AJAX which stands for Asynchronous JavaScript And XML, the XML part is removed. The suffix MU »

Show a map with your current location

In this article I am going to show you with a few lines of JavaScript how you can show the user's current location based on the IP address. We will also look at the more precise way to get the location in HTML5. The code Create three files; index.html, »