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 /...
Is YUI3 ready mature enough? What are its advantages and disadvantes vs YUI...
I was wondering if any effort has been made towards integration of YUI3 with rails asset pipeline.   By integration, I don't just mean a couple of helpers for including the library but rather a complete integration of YUI module loader.  I'll...
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 an iFrame that is firing an event that I want the parent page to pick up. Essentially the inverse of this question. I can pick up the event inside the iFrame, so I know it's firing, but nothing happens in the parent.  I'm using YUI 3 s...
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...
What is the difference between YUI.add and YUI().add ?...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.