3 messages in com.googlegroups.google-gadgets-api[Google-Gadgets-API] problems with se...
FromSent OnAttachments
.Vivek25 Apr 2008 03:46 
Dan (Google Employee)25 Apr 2008 10:05 
.Vivek26 Apr 2008 07:30 
Subject:[Google-Gadgets-API] problems with setting userPrefs
From:.Vivek (retu@gmail.com)
Date:04/25/2008 03:46:57 AM
List:com.googlegroups.google-gadgets-api

I am knew to the gadget api,i've been trying to set user preferences for a while,but had no success so far,i have managed to get user preferences though.

Here the code i used which sort of hangs up the gadget

user_prefs.set("ltxt",str);

---------------------------------------------------------- user_prefs is the preferences object,ltxt is a string type preference and str js string variable,

if remove the above line the gadget works fine,but how do i get the set preference thing working?what am i doing wrong?