Try removing the last comma from the list like this:
[
["ALABAMA STATE UNIV HORNETS"],
["ALBANY ST UNIV GOLDEN RAMS"],
["BALDWIN-WALLCE CLG YELLW JCKTS"],
["BALL ST UNIV CARDINALS"],
["BAYLOR UNIV BEARS"],
["CATAWBA COLLEGE"] <-- removed comma
]
On 6/26/07, Scott Nesbitt <[EMAIL PROTECTED]> wrote:
Using the following code:
<s:url id="autosportsteam" action="LookupSportsTeam"/>
<s:autocompleter name="sportsTeam"
id="sportsTeam"
keyName="sportsTeamKey"
theme="ajax"
formId="sportsForm"
href="%{#autosportsteam}"
cssStyle="width: 340px;"
dropdownHeight="180"
loadMinimumCount="2"
loadOnTextChange="true"
autoComplete="false"
showDownArrow="false"
delay="100"
searchType="substring"
forceValidOption="true"/>
I am getting what looks like a Dojo error: Object
error at line 4871.
Here is what Fiddler says is the JSON I return:
[
["ALABAMA STATE UNIV HORNETS"],
["ALBANY ST UNIV GOLDEN RAMS"],
["BALDWIN-WALLCE CLG YELLW JCKTS"],
["BALL ST UNIV CARDINALS"],
["BAYLOR UNIV BEARS"],
["CATAWBA COLLEGE"],
]
Any ideas? Strangely, this works on a WIN2K machine
with IE6, but fails on a WINXP machine with IE6, both
with the latest patches.
Thanks,
Scott
____________________________________________________________________________________
Don't get soaked. Take a quick peak at the forecast
with the Yahoo! Search weather shortcut.
http://tools.search.yahoo.com/shortcuts/#loc_weather
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]