var Test = Class.create();
Test.prototype =
{
initialize : function()
{
this.txt = "111";
new Ajax.Request("/test/test",{method:"post",parameters:"",onComplete: function(response){alert(this.txt);this.txt = response.responseText;}, asynchronous:false});
},
getTxt : funct ...







评论排行榜