I am trying to pass a string value from home view to canvas view. Here
is the code for home view
var map = {};
map['value1'] = escape("%"); // escaping "%" converts
it to "%25"
alert(map['value1']) // displays the
value to be
"%25"
var supported_views = gadgets.views.getSupportedViews();
gadgets.views.requestNavigateTo(supported_views["canvas"], map);
Now in canvas view I am
var map = gadgets.views.getParams();
if (map) {
alert(map.value1); // this alert shows a value
of "%" instead of
"%25"
}
Any idea what am I doing wrong? This behavior is only with % sign, I
tested everything else on keyboard and could not find any issues.
Thanks for helping.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"iGoogle Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/Google-Gadgets-API?hl=en
-~----------~----~----~----~------~----~------~--~---