Linked Questions

126 votes
5 answers
51k views

Possible Duplicate: What are valid values for the id attribute in HTML? Underscores seem fine. What about dashes? Other special characters?
Josh Gibson's user avatar
  • 23.3k
27 votes
6 answers
13k views

What characters can I use in an identifier for an HTML element? For example: <SPAN id="section[5]" ...> (Or rather, should I stick to certain characters to make sure the id works across all ...
Tony the Pony's user avatar
36 votes
3 answers
10k views

Possible Duplicate: What are valid values for the id attribute in HTML? valid value for name attribute in html It is valid to name a HTML5 input with a string containing a period? <input ...
David Tuite's user avatar
  • 22.8k
9 votes
2 answers
5k views

I'm learning about jQuery selector. w3schools tutorial says that "Do not start an id attribute with a number. It may cause problems in some browsers". I tested and saw it really does not work. I ...
ibrahim's user avatar
  • 3,444
-1 votes
2 answers
864 views

In HTML, what characters are valid as the first character in an id or class attribute? For example, is <div id="4bla"></div> valid or must they start with only letters?
Oto Shavadze's user avatar
  • 43.3k
1 vote
2 answers
2k views

I'm using jQuery with SharePoint 2013, and have to get the table Id to add an attribute. The table Id is {44C80A95-F3E4-40DA-9A97-50CADFFFED61}-{DD02CEA7-CC2B-4E4A-A725-86E82C6D11FC} When I use: ...
Victor Martins's user avatar
7 votes
3 answers
401 views

Can I use id with "(" and ")" in jquery mobile ? for example: <div id="RSI(3,4)"> </div> I have tried that id and want to access that element in js. $("#RSI(3,4)").html("some text"); ...
Vaishali Modi's user avatar
1 vote
1 answer
6k views

Edit: I think the issue is not with concatenation itself but the special character in the id of the element I am trying to select. Original: I am having problem with concatenating two strings. It ...
Newbie's user avatar
  • 373
1 vote
1 answer
1k views

Element i have has spaces within the id attribute which is causing the getElementByID() to not work and not be able to capture the element. If there any workaround i can do in this. Do i have to ...
Salman's user avatar
  • 1,999
0 votes
4 answers
692 views

I want to do an jQuery fade in and fade out in a loop such as here in this jsfiddle But I want to maintain different css positioning for each of the .trip elements, ie, the elements fading in and out....
Tester's user avatar
  • 2,987
0 votes
2 answers
327 views

Possible Duplicate: What are valid values for the id attribute in HTML? Hi, I'm struggeling with the jQuery UI Tabs and the needed ids. Let me give you an example: <div id="tabs"> <ul&...
Davincho's user avatar
  • 300
-1 votes
1 answer
426 views

console log is below. -> d3.select("#node1") <- qa {_groups: Array[1], _parents: Array[1]} -> d3.select("#node1.1") <- Uncaught DOMException: Failed to execute 'querySelector' on 'Document': ...
Kangsh's user avatar
  • 17
0 votes
1 answer
213 views

I am trying to apply CSS gradients to my <a> elements. It clearly doesn't work and I've been trying to work it out with no success. I am using Chrome if it has to do anything with the issue. ...
Alexander's user avatar
  • 311
0 votes
1 answer
97 views

Sorry for such a basic question. when writing different div elements to later ID and style in css, can I name them whatever I want? <div id="middle"></div> <div id="yellow box"><...
philipbusacco's user avatar
1 vote
0 answers
68 views

Recently I ran into a problem with HTML that took me a while to figure out. HTML is not case sensitive, but it turns out that the values of id and name attributes are case sensitive. This made me ...
user avatar

15 30 50 per page
1
2 3 4 5
41