Copy link to clipboard
Copied
I'm hoping that someone knows of a CF equivalent to DDCL? We tried using DDCL and it kept bumping heads with one of the AJaX files and breaking functionality - so we have to forget about using it.
Preferably CF, but can be JavaScript/jQuery.
Thanks,
^_^
Copy link to clipboard
Copied
You won't find a CF solution that doesn't involve some sort of client side manipulation via JavaScript. I'd search for a jQuery plugin.
Copy link to clipboard
Copied
What was it breaking? Do you use prototype or some other ajax library? You can run jquery in 'no conflict' mode if you need to.
Copy link to clipboard
Copied
cfsilence wrote:
What was it breaking? Do you use prototype or some other ajax library? You can run jquery in 'no conflict' mode if you need to.
I'm not sure what it was breaking - I was working on other documents, at the time. All I know, for sure, is that it wasn't working, then if one of the AJaX file includes was remarked out, it would work flawlessly.
Is it possible to run jQuery in "no conflict" mode for just one document? Or is it site-wide?
Thanks,
^_^
Copy link to clipboard
Copied
Did some asking around and experimenting with this. Here's what I've discovered, so far.
One of the errors involves the following code:
<script type="text/javascript">
$(document).ready(function(){
ERROR ---> $("#TYPEDROP").dropdownchecklist({ emptyText: "Please select",maxDropHeight: 200, firstItemChecksAll: true, width: 183 });...
}
</script>
"Object doesn't support this method" is the error message.
I've also noticed JavaScript errors with CF/AJaX:
<script type="text/javascript">/* <![CDATA[ */
var _cf_VMP=ColdFusion.AjaxProxy.init('/xxxxxxxxxx/yyyyy/zzzzzzzz/components/yyyyy.cfc','yyyyy');
_cf_VMP.prototype.getVendorArray=function(FIELD_VALUE) { return ColdFusion.AjaxProxy.invoke(this, "getVendorArray", {FIELD_VALUE:FIELD_VALUE});};
ERROR ---> _cf_VMP.prototype.getVendorNames=function(FIELD_VALUE) { return ColdFusion.AjaxProxy.invoke(this, "getVendorNames", {FIELD_VALUE:FIELD_VALUE});};...
}
</script>
This is just one of three CF/AJaX errors that I'm getting. So is it CF/AJaX that is causing the rest to fail? Or is this specific to DDCL? I think it's CF/AJaX, since commenting out one of the AJaX files allows DDCL to work.
Just a thought.
^_^
Copy link to clipboard
Copied
There's nothing that will NOT utilize JavaScript.
Whether there is any ColdFusion code out there that will make the JavaScript for you, I can not say.
But it is important to remember that ColdFusion runs on the server and anything that is done on the client must be done in a client side language. I.E. HTML, CSS, JavaScript, etc.