James,
Will this work if I have multiple form fields that need to be passed to the
cfc?
What's mixing me up is the source attribute. Here's what I'm passing. 3 items,
from 3 formfields.
<!--- Start ajaxcfc call --->
<cfoutput>
<script type='text/javascript' src='../mxAjax/core/js/prototype.js'></script>
<script type='text/javascript' src='../mxAjax/core/js/mxAjax.js'></script>
<script type='text/javascript' src='../mxAjax/core/js/mxSelect.js'></script>
</cfoutput>
<script language="javascript">
var url = "<cfoutput>#ajaxUrl#</cfoutput>";
function init() {
new mxAjax.Select({
parser: new mxAjax.CFArrayToJSKeyValueParser(),
executeOnLoad: true,
target: "course",
paramArgs: new
mxAjax.Param(url,{param:"eval={eval},T7={Tier7},T6={Tier6}", httpMethod:"get",
cffunction:"getCourses"}),
source: "eval,Tier7,Tier6"
});
}
addOnLoadEvent(function() {init();});
</script>
If I change one of the dropdowns, nothing happens.
Thanks,
Will
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:280754
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4