[jQuery] JQuery BREAKS in IEx -- H E L P!!!!
Hi, I've searched the group but haven't found a working solution.
I'm using this plugin for form validation:
http://bassistance.de/jquery-plugins/jquery-plugin-validation/
It works great in FF, but not in IE!!! What can I do to fix? There's
too much code to post online. But I can tell you about it's
conctruction.. It's a mix of ColdFusioin and JQuery.
(If yo're not familar with ColdFusion the CFOUTPUT tags don't show up
in the final output to the browser and the <cfif> will only generat if
the value in the DB is true [apple Not Equal to '' } - thus apple is
blank in the db, if it is NOT blank the jquery code gets generated
etc..)
Some code snipets are below:
</script>
<script language="javascript" type="text/javascript" src="../../../../
scripts/prototype.1.6.3.js"></script>
<script language="javascript" type="text/javascript"src="../../../../
scripts/jquery-1.3.2.js" ></script>
<script language="javascript" type="text/javascript"src="../../../../
scripts/jquery.validate.js" ></script>
<script language="javascript" type="text/javascript">
var $J = jQuery.noConflict(); // prototype compatibliity mode.
$J(document).ready(function()
{
<cfoutput>
<cfloop query="getFruitPicked" > //a query to a db of all
possible fruit, and their status of being available or not, and is
used to populate form
//check boxes in the form
// dobble ## is used to excape a a #variableName# syntax in
coldfusion
<cfif APPLE neq ''>$J('##Apple').attr('checked', true);</cfif> //
sets box to checked if
<cfif Banana neq ''>$J('##Banana').attr('checked', true);</cfif>
</cfoutput>
etc...
}};
}};
</script>
Your help is appreciated...