39 Posts
dazzafact
10 years ago
Topic

Hello! i dont know the reason for blocking jquery in my template.

<script> 
 alert("change");
$(function() {
 alert("change2");
})
</script>

Watch here

http://goo.gl/1kPrI

Get a VIP membership
85 Posts
Jpeg
10 years ago
5
Level 1

Hi

Joomla still in use of Mootools, so jquery noconflict was activated by joomla or seblod

you needing to use jQuery() instead of $() for jquery script. and don't forget jQuery(document).ready(function(){  ...  });

Jpeg

39 Posts
dazzafact
10 years ago
1
Level 2

tnx that works!

85 Posts
Jpeg
10 years ago
0
Level 3

I know ;)

you're welcome

Jpeg


188 Posts
uriel
10 years ago
2
Level 2

Hello! My problem 
Is there any incompatibility override the registration form
+ user the latest version of jQuery? (2.0.3) I'm calling it incorrectly??
NOTE> the code does what it must do, but the form does not save!
I am directed to this URL
OSB ²> I called directly to override the siteform via google!
I tried to insert via template (site) and TBM did not.
hugs

251 Posts
Viktor Iwan
10 years ago
1
Level 3

I suggest you to stick with jQuery 1.8.x, because jQuery 2.x is a new different animal and drop support to old IE browser, i don't think any joomla/wordpress community endorsed jQuery 2... not yet..

see reference here: http://www.sitepoint.com/whats-new-in-jquery-2-0/

The same thing with upcoming Bootstrap 3.x ... it has richer ui (you can use column in mobile now)... but its different thing with Bootstrap 2.x

188 Posts
uriel
10 years ago
0
Level 4

yeah, I ended up with a 1.8

That was the question $ per Jquery
not on the same problem!
the other question

hugs 

Get a VIP membership