General developer forum

 
 
Picture of Raphael Goldman
Is it consider ok to use jquery?
 

Hi,

I have a form and I need to do some on the fly manipulations,

As I am more familier with jquery than YUI is it consider a good practice to use it?

Thanks,

Raphael

 
Average of ratings: -
Picture of Vitaly Potenko
Re: Is it consider ok to use jquery?
 

Hi,

look here - http://docs.moodle.org/dev/Using_jQuery_with_Moodle_2.0

I guess the fact that this page is included in Moodle docs allow us to think that it's ok to use jquery in your Moodle development!

 
Average of ratings: -
Picture of Rex Lorenzo
Re: Is it consider ok to use jquery?
Group DevelopersGroup Particularly helpful MoodlersGroup Testers

I would encourage you to try SimpleYUI if you want JQuery like syntax to do simple manipulations:

http://www.yuiblog.com/blog/2010/09/03/coming-inyui-3-2-0-simpleyui/

It was introduced to Moodle in 2.4: https://tracker.moodle.org/browse/MDL-34915

 
Average of ratings:Useful (2)
Andrew Normore
Re: Is it consider ok to use jquery?
 

I'm using Jquery in my theme, to do some neat interface stuff. As far as interface stuff goes, like sliders and drop down menus, notifications and "cool stuff", it's been working for me nicely.

As far as YUI, it's part and deeply embedded in Moodle. 

 
Average of ratings: -