Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #32626
| Newsgroups | comp.lang.javascript |
|---|---|
| Subject | Re: Is it possible to change IDs on click? |
| From | "Evertjan." <exxjxw.hannivoort@inter.nl.net> |
| References | <1ca5176b-b881-4d94-862d-bc9633d97392@googlegroups.com> <XnsA718700D8BA19eejj99@194.109.6.166> <7e2710e6-3f4a-4a6d-b082-4f33138ea5f0@googlegroups.com> |
| Date | 2017-02-13 22:35 +0100 |
| Message-ID | <XnsA71BE5BEAC50Aeejj99@194.109.6.166> (permalink) |
bit-naughty@hotmail.com wrote on 13 Feb 2017 in comp.lang.javascript: > On Friday, February 10, 2017 at 4:00:54 AM UTC-6, Evertjan. wrote: You wrote on 10 Feb 2017, but forgot to quote, and you should as otherwise the quoting makes no sense: >> If I have one # section say, making some text blue, and another # >> section, making some text pink (with a div id=<those>), can I >> programmatically, in Javascript, change the id of the text from # one to >> # two?? So that the text changes from blue to pink? >> >> I know you can do it with classes with className, but what about id's? >> Did you try yourself? > > Umm.....how can I try it when I don't know what the language is? The language surely must be Javascript, or your posting is off-topic. > i.e. the keyword? What is what? > i.e. *what* is to id's what "className" is to classes?? You can find that in all CSS-specs on the web. Damn, you are lazy! -- Evertjan. The Netherlands. (Please change the x'es to dots in my emailaddress)
Back to comp.lang.javascript | Previous | Next — Previous in thread | Find similar | Unroll thread
Is it possible to change IDs on click? bit-naughty@hotmail.com - 2017-02-10 01:54 -0800
Re: Is it possible to change IDs on click? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-02-10 11:00 +0100
Re: Is it possible to change IDs on click? bit-naughty@hotmail.com - 2017-02-13 04:51 -0800
Re: Is it possible to change IDs on click? Osmo Saarikumpu <osmo@weppipakki.com> - 2017-02-13 18:18 +0200
Re: Is it possible to change IDs on click? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-02-13 22:36 +0100
Re: Is it possible to change IDs on click? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-02-13 22:35 +0100
csiph-web