Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

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

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
The following user(s) said Thank You: admin, JoomGuy

Please Log in or Create an account to join the conversation.

Last edit: by goslingcools.

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
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 following user(s) said Thank You: JoomGuy, goslingcools

Please Log in or Create an account to join the conversation.

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
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

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.083 seconds

Awards for the best Joomla app. This product is gonna win an award for this amazing job. Cook Self Service is the the best application from all over the Joomla universe ! It brings Joomla to a professional level really advanced for developers. It is a real fun to develop with it. The ACL part and security checks implementation are just... so much hours saved. I can now concentrate myself more on the design part and the creative works. Thank you so much. Guys I offer you all my congratulation ! Keep up the works because Joomla is needing it to increase the quality of extensions availables on the JED. I also learned a lot because I can see how to code at the proper place and I found all my answers reading the forum.
lack_hanson (JED)
          

Get Started