Click here to Skip to main content
16,010,876 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
JavaScript
function SOAPClientParameters()
{
	var _pl = [];
	this.add = function(name, value) 
	{
		_pl[name] = value; 
		return this; 
	}

	this.toXml = function()
	{
		var xml = "";
	    for(var p in _pl)
	    {
		    if(typeof(_pl[p]) != "function")
		    xml += "<" + p + ">" + _pl[p].toString().replace(/&/g, "&").replace(/g, ">") + ";
	    }
		return xml;	
	}
}


i have a problem.that i want to use my this class as mootools.
please convert my this class in mootools.
Posted
Comments
Sergey Alexandrovich Kryukov 15-Nov-11 2:34am    
Who will convert it? How about you? What's your problem?
--SA
prince_rumeel 15-Nov-11 2:38am    
plz can u help me.this class is not following mootool patren.but i want to use it in mootools.so plz convert it in mootools.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900