Anyone seen this? (Cross-posting with mxAjax board here:
http://groups.google.com/group/mxajax/browse_thread/thread/d81c710269a9d
502/#)

Error: mxAjax.Autocomplete is not a constructor 
Source File:
http://www.tcbader.com/ccapp%5Fdev/index.cfm?action=act_vw&id=10000002 
Line: 1165 
my setup: 
<cfoutput> 
<script type='text/javascript' src='_js/mxAjax/core/js/ 
prototype.js'></script> 
<script type='text/javascript' src='_js/mxAjax/core/js/ 
scriptaculous.js'></script> 
<script type='text/javascript' src='_js/mxAjax/core/js/mxAjax.js'></ 
script> 
<script type='text/javascript' src='_js/mxAjax/core/js/ 
mxAutocompleteMS.js'></script> 
</cfoutput> 
in my onload funtion: 
new mxAjax.Autocomplete({ 
indicator: "routeindicator", 
minimumCharacters: "4", 
target: "ROUTE", 
className: "autocomplete", 
paramArgs: new mxAjax.Param(ajaxurl,{cffunction:"testFn"}), 
parser: new mxAjax.CFQueryToJSKeyValueParser(), 
source: "ROUTE", 
flexWidth: true 
}); 

code in body: 
<span id="routeindicator" style="display:none;"><img src="_images/ 
indicator.gif" /></span> 
<font class="formOptionText">Routing No: </font> <input type="TEXT" 
id="ROUTE" name="ROUTE" value="" size="9" class="formOption" 
maxlength="9"><br> 
&nbsp;&nbsp; 
<div id="routeSelection" style="overflow-x: hidden; overflow-y: 
automatic;position: relative;z-index:1;left:49px;width:270px"></div> 

any clue as to why im getting this error? i have put alerts in the 
included js files to make sure they were being called and they are. 
ajaxurl is correct. 



~Terry



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:282815
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to