Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 127579
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T05:29:56+00:00 2026-05-11T05:29:56+00:00

YUI 3 allows you to write Y.all(.foo).removeClass(bar); However it does not allow writing Y.all(.foo).removeClass(bar).set(innerHTML,

  • 0

YUI 3 allows you to write
Y.all('.foo').removeClass('bar');

However it does not allow writing
Y.all('.foo').removeClass('bar').set('innerHTML', 'baz');

It seems all the ‘operational’ methods always terminate the call chain.
This means YUI 3 only provides half the power of chaining that jQuery provides.

Does anyone know why this is, and if there is a way around it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T05:29:57+00:00Added an answer on May 11, 2026 at 5:29 am

    Oren,

    Obviously you’re aware of this already, but to complete this thread for those who stumble upon it later —

    http://tech.groups.yahoo.com/group/ydn-javascript/message/45375

    In short, this is a bug (opened by Oren) and it’s being tracked here:

    http://yuilibrary.com/projects/yui3/ticket/2525997

    -Eric

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does anyone know of any plugins/extentions to the YUI Datatable that will allow column
YUI Compressor does not accept wildcard parameters, so I cannot run it like this:
I am using the YUI Progress Bar but I'm having some problems with it.
Looking at YUI 2: Reset CSS they set margin:0 and padding:0 on multiple elements.
It seems that YUI is very focused on providing all the same code for
I am using YUI for displaying data. This row is used for set count
I am using YUI Compressor to minify Javascript files. However these Javascript files contains
In older versions of YUI, it's not possible to simulate touchevent (touchstart/touchmove/touchend), as we
YUI Compressor was the consensus best tool for minimizing, but Closure seems like it
In YUI I have following code working for mouse wheel. How do I make

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.