In YUI3 is it possible to overwrite a method from e.g. the Node module? For example, I want to do something like this:  Y.Node.prototype.get = function () {     // Do some stuff then call the original function };   That works perfectly (as you would...
I have a json array of objects that look like this: {id:'the id', name:'the name'}; and I need to loop over the array and group each object alphabetically by it's name attribute.  Is there a way to do this without using a switch /...
We are about to commence a redesign of our site and are exploring all options in improving performance. The site is fairly heavy in javascript loaded adverts, therefore we need to be really lean with the javascript we use.  Do any of you have any exp...
I've used this simple technique to get a native DOM element in jQuery:  var el = $('#myid'); var native = el[0];  //or el.get(0);   How can I do this in YUI 3? For example, I want to use getElementsByName DOM method, which is not supporte...
so is something like this possible?  Y.one("input.units").on("keyup change", function(e){     ... });   the jquery equivalent is   $("input.units").bind("keyup change", function(e){     ... });...
I have a problem with http://yuilibrary.com/gallery/show/notify  Unfortunately I'm using the older version of YUI (3.4.0) so it's even harder to search for the solutions. I can't change it so I have to stick to it :(  I have read document...
I am working on rewriting my application from YUI 2 to YUI 3.  Sometimes I need some data from database in my JavaScript environment. Firs option is to assign some global variables in JavaScript, but global vars is not good, so I did following in YUI...
I am using YUI3's Auto-complete Plugin. Y.Plugin.Autocomplete.   Now I want to extend this plugin and create some very specific plugins. Such as Y.MyModule.TagAutocomplete, Y.MyModule.EmailAutocomplete and so on.  My simple question is, when I am...
Is there a way to set YUI 3 Slider widget to be 100% width? In the documentatiotn, length attribute is set in px. I tryed with %, but not work.  YUI().use('slider', function (Y) {     var interval;     var slider = new Y.Slider({         min...
I am new to YUI and I want to learn it from scratch. Can you suggest some books or tutorials? Where should I start? It seems YUI 3 is different from its predecessors. Please help me....

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.