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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T07:43:20+00:00 2026-05-26T07:43:20+00:00

I am facing a strange scenario only in IE7 like, adding a class to

  • 0

I am facing a strange scenario only in IE7 like,
adding a class to an ID.

$(idName).addClass("sel");

If my idName is short then I am not facing any issue but if it is very long then browser is hanging.

At the time of hanging, idName is like dateRange(2006,2007,2008,2009,2010)

Edited:

populatedID = "dateRange(2006,2007,2008,2009,2010)";
var idName = "li[id=\"" + populatedID + "\"]";
$(idName).addClass("sel");

Please suggest me any alternative to work with it.

Thanks in advance.

  • 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-26T07:43:20+00:00Added an answer on May 26, 2026 at 7:43 am

    that is an odd looking ID which would equate to id="dateRange(2006,2007,2008,2009,2010)" if it were in-line and thus invalid as ID can consist of only alpha numeric plus “-” and “_” and begin with an alpha

    http://www.w3.org/TR/html401/types.html#type-name

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

Sidebar

Related Questions

I am facing a strange problem. Without any change, hibernate does not do anything
I'm facing a strange bug. Page.ResolveUrl(~/myPage.aspx?param=valueA:valueZ); And it just not work, visibly cause of
I am facing a strange scenario. basically on my every web page i am
I am facing a strange issue in my Zend Application: My model is like
I am facing a strange issue where-in my webpage does not load fully after
I'm facing a (strange) problem: I'd like to retrieve the number of phone's numbers
I am facing strange issue on Windows CE: Running 3 EXEs 1)First exe doing
I'm facing a strange issue, I'm trying to localize a website, so i converted
I am facing a strange problem on my Ubuntu Karmic system. When I call
I am facing a strange problem with my iphone. It shows available memory as

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.