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

Although I found this tool some time ago I just started learning experimenting and building this first component on Monday and now on Thursday afternoon it's already online. Although I already had a working version done with another tool this is much easier to build and at the end you have the freedom to own your own component. Once you know how to use Cook you will boost your productivity as the learning curve is really moderate compared to many other tools.
Giori (Forum)

Get Started