Call jQuery from ColdFusion
coldfusion, jquery
Solution
You do know that you are mixing client and server side code? That said it is really not an issue to do:
<script language="javascript">
<cfswitch expression="#n#">
<cfcase value="test1">
$.something1()
</cfcase>
<cfcase value="test2">
$.something2()
</cfcase>
</cfswitch>
</script>
Problem
Is it possible to call a jQuery function from within a ColdFusion switch statement? If so, how?