Login   Register  
PHP Classes
elePHPant
Icontem

File: extensions/html/js/html.js

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Stanimir Angeloff  >  NAJAX  >  extensions/html/js/html.js  >  Download  
File: extensions/html/js/html.js
Role: Auxiliary data
Content type: text/plain
Description: NAJAX_HTML Client file.
Class: NAJAX
Call PHP class functions from page with Javascript
Author: By
Last change:
Date: 9 years ago
Size: 260 bytes
 

Contents

Class file image Download
najax.html = {};

najax.html.onCallCompleted = function(response) {

	if (typeof(response.html) == 'string') {

		if (response.html.length > 0) {

			try {

				eval(response.html);

			} catch (e) {};
		}
	}
};

najax.addObserver(najax.html);