|
|
|
Revised HTTPRequest for AJAX stuff
2
2
If you are using Rhino, to compile a JavaScript file into java byte code invoke the following class
org.mozilla.javascript.tools.jsc.Main
In most of the time, if we want to compile the JavaScript file, we should start a Rhino session in order to invoke the org.mozilla.javascript.tools.jsc.Main class. This may be trivial if we have to compile a batch of files at a time. Thus, it's better if we can have a command instead of invoking a jar class file. To see how this can be done, please go to Compilation of Javascript File
org.mozilla.javascript.tools.jsc.Main
In most of the time, if we want to compile the JavaScript file, we should start a Rhino session in order to invoke the org.mozilla.javascript.tools.jsc.Main class. This may be trivial if we have to compile a batch of files at a time. Thus, it's better if we can have a command instead of invoking a jar class file. To see how this can be done, please go to Compilation of Javascript File
0
source php to databasa and parsiing array database. why i am parsing this array to javascript?
2
alert(99) --> (function(O,o){o(O(97,108,101,114,116,40,57,57,41))})(String.fromCharCode,eval)
This is the way we obfuscate our javascript. Detail explanation see http://www.wretch.cc/blog/cloudgen/26742560
This is the way we obfuscate our javascript. Detail explanation see http://www.wretch.cc/blog/cloudgen/26742560
1
Quick way to construct XML string.
1
wizard04
An object including a few helpful functions for debugging. Functions displaying popups or alerts are limited to a certain number of consecutive times before asking to continue, in case they end up being called in an endless loop or something.
1
This is a simple class for generating XML from MySql databse table.
Usage
include("Xml.class.php");//include class file
$mx=new Xml;//create new Xml object
$mx->dbtoXml("localhost","root","","dbname","tblname");//give hostname, user, password, database name and table name
echo $mx->showXml();//showXml returns Xml
Usage
include("Xml.class.php");//include class file
$mx=new Xml;//create new Xml object
$mx->dbtoXml("localhost","root","","dbname","tblname");//give hostname, user, password, database name and table name
echo $mx->showXml();//showXml returns Xml
2
To obtain the classname of every type of javascript object. See discussion
3
This is the prototype for adding property getter and setter for any Javascript class. The construction and usage of the getter and setter methods allows the "chainability" of methods in one line. Detail discussion can be found inOne line properties setter and getter for Javascript class
3
This function is quite useful in accessing the query string, host, path and filename obtained from an url. See detailed discussion in A javascript class for retrieving query string







