I have an autocompleter like this:
<s:autocompleter name="states"
id="states"
theme="simple"
autoComplete="false"
showDownArrow="false"
searchType="startstring"
forceValidOption="true"
list="#{'AL':'ALABAMA', 'AZ':'ARIZONA',
'AR':'ARKANSAS', 'CA':'CALIFORNIA'}"/>
In some JavaScript I would like to set the state to,
say, Arizona. This is not working:
var t = dojo.widget.byId('states');
t.value = 'AZ';
Any ideas? I also tried statesKey, no luck.
Thanks,
Scott
____________________________________________________________________________________Be
a better Heartthrob. Get better relationship answers from someone who knows.
Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545433
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]