Forums

Help with jquery conflicts

yaksushi 16 Mar, 2011
I created a new form but used some jquery scripts, I know that this can cause conflicts. I thought I set up noConflict up correctly but my form validation is only working prior to the jquery library being loaded... So i've messed up some where. I also changed all my $ to j with

var j = jQuery.noConflict();
in my main.js file.

Do I still need to do a
<script type="text/javascript">
  $.noConflict();
  // Code that uses other library's $ can follow here.
</script>
call?

Any help would be greatly appreciated!

http://www.yakangler.com/index.php?option=com_chronocontact&chronoformname=SearchSubmitFishingLocation
GreyHead 17 Mar, 2011
Hi yaksushi,

I think that the problem is that there is a JavaScript error in the ChronoForms validation code because this input doesn't have a 'name attribute.
<input id="address" type="text" class="ui-autocomplete-input" autocomplete="off" role="textbox" aria-autocomplete="list" aria-haspopup="true">

Bob
yaksushi 17 Mar, 2011
BOB YOU ARE THE MAN!!! Thanks! 😀
This topic is locked and no more replies can be posted.