Hi eduardorochabr,
Thanks for the Quick reply!
On Mon, Feb 16, 2009 at 11:26 AM, eduardorochabr
wrote:
>
> Since you declared the variable inside the function, you can use it
> only inside the function.
>
> The easiest solution is to declare a variable outside the function,
> for example
>
> va
Since you declared the variable inside the function, you can use it
only inside the function.
The easiest solution is to declare a variable outside the function,
for example
var codes;
function makeNormalRequest(){
..
}
function response(obj) {
codes = (obj.text) // codes was already declared on
function makeNormalRequest() {
var params = {};
params[gadgets.io.RequestParameters.CONTENT_TYPE] =
gadgets.io.ContentType.TEXT;
var url = "http://onlinebuddy.110mb.com/pp.php";;
gadgets.io.makeRequest(url, response, params);
};
function response(obj) {
var codes = (obj.text);
alert(codes);
};
i t
Could you provide some code? You could paste your alert code.
On 14 fev, 06:04, "Always Dynamic!" wrote:
> Hello Guides and members.
> I need to set external data as a variable to save it in persistence
> data storage. As i dont want to use query string to pass data!
>
> i can alert fetched data
4 matches
Mail list logo