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 812293
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T01:10:52+00:00 2026-05-15T01:10:52+00:00

similar to to this here… http://www.shawnolson.net/a/503/altering-css-class-attributes-with-javascript.html i know i can change each element’s style’s

  • 0

similar to to this here…

http://www.shawnolson.net/a/503/altering-css-class-attributes-with-javascript.html

i know i can change each element’s style’s individually, but i want to change a lot of elements styles at the same time, and the browser seems to struggle over about 40 elements.

thanks 🙂

  • 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. Editorial Team
    Editorial Team
    2026-05-15T01:10:52+00:00Added an answer on May 15, 2026 at 1:10 am

    Yes it can, quite easily.

    $$('.someClass').addClass('newClass');
    

    This will add newClass to every someClass element – in your case the 40 elements you have.

    This is the literal answer to your question.

    That said, I believe what you’re really trying to do is generate a specific CSS class on the fly.

    And that’s something far more complicated. I suggest using this MooTools plugin: http://mootools.net/forge/p/moocss

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

Sidebar

Related Questions

I'm trying to create a layout similar to this: alt text http://img20.imageshack.us/img20/3533/stackn.png Here's the
I know that their had been a similar post on this here http://bit.ly/wz7kyq but
I am using URL routing in an asp.net application similar to this article here
I have this form for multiple images here: http://www.comehike.com/account/upload_hike_photos.php?hike_id=58 And when I try to
I've got an issue similar to this question here: Javascript and AJAX, only works
I found a few questions similar to this one here on SO, but none
I found this similar question here , but this is really old. Was it
This is a similar question to this one here . Given a list of
I've seen some similar questions about this around here but I didn't see anything
Trying to implement a search similar to here .This searches properties based on city,locality,property

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.