SEO Tips - SEO Blog - Internet Marketing - Search Engine Optimization

» AJAX Tutorials

  • FBJS and Ajax to acheive Facebook profile link tracki...
    By on December 15th, 2008 | 8 Comments8 Comments Comments
    FBJS and Ajax to acheive Facebook profile link tracking
    This weblog shows how to create a short script that will track and log the user activity. In interactive application development we love our ability to track and analyze the behavior of our users. Through tools like Google analytics and Urchin, web sites can monitor and analyze where their users are going, and more importantly how those users are getting there. As our company delves deeper into creating applications for the Facebook platform, we have realized that analysis of users behavior is extremely important. It is no secret that very few companies have mastered how to create a success F...
  • AJAX validation with Django, newforms and MochiKit
    By on December 15th, 2008 | No Comments Comments
    AJAX validation with Django, newforms and MochiKit
    This weblog of mine presents the example code for using Django, newforms and MochiKit to do AJAX validation. Before we get going, some context: the Christian Camps in Wales web site has a forum system which allows people to create polls. I rewrote this recently to use newforms, mainly to keep up to date with Django, and also to try out some AJAX. I first had to write a Form subclass which encapsulates the logic for validating and processing the form. As it happens, the form is based on a model Poll, but it requires more fields. In particular, this single form is used to create all the PollOpti...
  • Ajax tutorial
    By on December 15th, 2008 | No Comments Comments
    Ajax tutorial
    AJAX is not a new programming language, but a technique for creating better, faster, and more interactive web applications. With AJAX, your JavaScript can communicate directly with the server, using the JavaScript XMLHttpRequest object. With this object, your JavaScript can trade data with a web server, without reloading the page. AJAX uses asynchronous data transfer (HTTP requests) between the browser and the web server, allowing web pages to request small bits of information from the server instead of whole pages. The AJAX technique makes Internet applications smaller, faster and more user-f...
  • AJAX Http Requests
    By on December 15th, 2008 | No Comments Comments
    AJAX Http Requests
    In traditional JavaScript coding, if you want to get any information from a database or a file on the server, or send user information to a server, you will have to make an HTML form and GET or POST data to the server. The user will have to click the Submit button to send/get the information, wait for the server to respond, then a new page will load with the results. Because the server returns a new page each time the user submits input, traditional web applications can run slowly and tend to be less user-friendly. With AJAX, your JavaScript communicates directly with the server, through the J...
  • AJAX – The XMLHttpRequest Object
    By on December 15th, 2008 | No Comments Comments
    AJAX – The XMLHttpRequest Object
    Before sending data to the server, we have to explain three important properties of the XMLHttpRequest object. The onreadystatechange Property After a request to the server, we need a function that can receive the data that is returned by the server. The onreadystatechange property stores your function that will process the response from a server. This is not a method, the function is stored in the property to be called automatically. The following code sets the onreadystatechange property and stores an empty function inside it: xmlHttp.onreadystatechange=function() { // We are going to write ...
  • AJAX – Request a Server
    By on December 15th, 2008 | No Comments Comments
    AJAX – Request a Server
    To send off a request to the server, we use the open() method and the send() method. The open() method takes three arguments. The first argument defines which method to use when sending the request (GET or POST). The second argument specifies the URL of the server-side script. The third argument specifies that the request should be handled asynchronously. The send() method sends the request off to the server. If we assume that the HTML and ASP file are in the same directory, the code would be:,time.asp,true); xmlHttp.send(null); Now we must decide when the AJAX function should...