Yes, i guess... if still not working try displaying an alert of the var in the
script, to see what's wrong with it
>Would it look like this?
>
><cfoutput>
> <script type="text/javascript">
> var scriptList = '#myList#';
>
>
> $(document).ready(function() {
> $("##country").autocomplete(
> "data/country.cfm",
> {
> minChars:2,
> delay:200,
> autoFill:false,
> matchSubset:false,
> matchContains:1,
> cacheLength:10,
> selectOnly:1
> }
> );
> $("##city").autocompleteArray(
> scriptList,
> {
> minChars:1,
> delay:10,
> autoFill:false,
> matchSubset:10,
> matchContains:10,
> selectOnly:10
> }
> );
> });
> </script>
> </cfoutput>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322888
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4