PHP Classes

File: pagingajax.js

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Classes of Jannerel Roche  >  Paging Class with AJAX or HREF  >  pagingajax.js  >  Download  
File: pagingajax.js
Role: Auxiliary data
Content type: text/plain
Description: js file
Class: Paging Class with AJAX or HREF
Browse paginated query results using AJAX or HREF
Author: By
Last change: 1. now using jquery for ajaxification
2. added preloader div id for preloading purposes, make sure an element with id='preloader' exist in pagingindex.php
Date: 6 years ago
Size: 482 bytes


Class file image Download
MAIN AJAX FUNCTION: xxmlhttprequest2()

$(document).ready(function() {

function xmlhttprequest2(id, url, methods, keyvalue) {
 	 	type: "GET",
  		url: url+'?'+keyvalue,
  		success: function(html){
		failure: function(html){
			$("#"+id).innerHTML = "Sorry, please try again..."