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.086 seconds

For starters it's just so easy to design an app in a way that I'm used to i.e. database first then views followed by customization. The fork system is pure brilliance from a developer standpoint as I can override things and still add and update my projects with minimal effort! Truly amazing to be able to build components in Joomla using incremental refinement without having to do everything by hand. Thanks for the great tool! I am so much more productive now than ever and I can't imagine building components any other way!!!!
Dave (Forum)

Get Started