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

  • Home
  • SEARCH
  • 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 4025472
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T10:51:05+00:00 2026-05-20T10:51:05+00:00

The first thing that comes to my mind when i hear the word ID

  • 0

The first thing that comes to my mind when i hear the word ID is that it’s something which is unique, Well it is in the case of ASP.NET server tags. But it seems that there is nothing wrong using same id’s for multiple tags if it’s not a server tag. So is it a problem at all?

  • 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-20T10:51:05+00:00Added an answer on May 20, 2026 at 10:51 am

    Your DOM selectors will fail. document.getElementById will only return the first match, and different javascript libraries might to their own funky stuff depending on the parsing they do on your selectors. plus, different browsers might also do their own when using querySelectorAll.

    I’d recommend to use a class attribute instead of an id, even if you do not intend to address the elements with javascript. Repeating the same id on a page is still invalid code and will lead to uncertain results.

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

Sidebar

Related Questions

The first thing that comes to my mind is to do a bunch of
I created a new project in Eclipse called Lottery. The first thing that happened
First thing i want to say that it's not an easy question to explain,
First question here: it is a very short yet fundamental thing in Java that
OK, so first some things that might be relevant: I'm using the Clang 3.1
First off I would like to say that I think that my question may
One of the first things I learned in C++ was that #include <iostream> int
So I've just released my first module for nodejs . Things that I did:
First thing is I am on Ubuntu 12.04 LTS. When I type rails s
I was just reading this line: The first thing the format() method does is

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.