Welcome, Guest
Username: Password: Remember me

TOPIC: [FIXED] jquery Validator not working with last jQuery version

jquery Validator not working with last jQuery version 15 Jan 2013 13:57 #6457

  • goslingcools
  • goslingcools's Avatar
  • Offline
  • Senior Member
  • Posts: 64
  • Thank you received: 7
  • Karma: 1
Hi,

Since we grab the latest jquery version in the helper it's now 1.9.x something. And now the validation engine stopped working. :-(

I replaced
$doc->addScript('http://code.jquery.com/jquery.min.js');
with
$doc->addScript('//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js');

To get it to work again.

It's 'live' that is not part anymore of jquery 1.9. Maybe more stuff too... ;-)

Bye bye
Last Edit: 15 Jan 2013 13:58 by goslingcools.
The administrator has disabled public write access.
The following user(s) said Thank You: admin, JoomGuy

Re: jquery Validation Eng. error latest jquery version 15 Jan 2013 16:11 #6460

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
Exact. Thanks.

File : helpers/helper.php
Function : headerDeclarations()

Replace
$doc->addScript('http://code.jquery.com/jquery.min.js');

By :
//Load jQuery from the CDN
$doc->addScript('http://code.jquery.com/jquery-1.8.2.min.js');

I will not upgrade fix now.

JQuery Validator is a MIT license not written by me.
I must check what is going wrong with the new jQuery version.

For the moment, stay on the 1.8.2 version.
Coding is now a piece of cake
The administrator has disabled public write access.
The following user(s) said Thank You: JoomGuy, goslingcools

Re: jquery Validation Eng. error latest jquery version 07 Aug 2013 13:00 #10704

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
Fixed now,

but be careful....

JDom is handling last jQuery lib version and load it when Joomla does not have it natively (before 3.0)
Same for chosen.

Always check the version compatibilities also between jQuery and chosen.
Coding is now a piece of cake
The administrator has disabled public write access.
Time to create page: 0.083 seconds

Get Started