


Dear All.
I set Global variable up in the Init as attached file.
--------------------------------- Code ---------------------------------
var total = 0;
.
.
.
.
function Xxx(){
total = total + 10
app.alert(total); // =====> 10
}
---------------------------------------------------------------------------
when i call Xxx(), Xxx() function alert 10;
in click event of button on the next page, i tried to call total variable(Global variable).
--------------------------------- Code ---------------------------------
app.alert(total); // =====> error?
app.alert(Init.total); // =====> 0
---------------------------------------------------------------------------
How can i use Global variable?
Views
Replies
Sign in to like this content
Total Likes
To get the setting of the Init variable you woudl use Init.value
Paul
Views
Replies
Total Likes
To get the setting of the Init variable you woudl use Init.value
Paul
Views
Replies
Total Likes