struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony Zhang <zhj...@hotmail.com>
Subject Re: [S2]question about S2+YUI+JSON.
Date Wed, 23 Jan 2008 02:59:47 GMT

Thanks,

I have a question about how to encode the data when sumbit data by YUI.


Like below, 

var postData = "username=anonymous&userid=0";
function makeRequest(){

	var request = YAHOO.util.Connect.asyncRequest('POST', sUrl, callback,
postData);
} 

How can I encode the postData?


-- 
View this message in context: http://www.nabble.com/-S2-question-about-S2%2BYUI%2BJSON.-tp15032587p15033916.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message