Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #32595
| 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> |
| Date | 2017-02-10 11:00 +0100 |
| Message-ID | <XnsA718700D8BA19eejj99@194.109.6.166> (permalink) |
bit-naughty@hotmail.com wrote on 10 Feb 2017 in comp.lang.javascript: > 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? -- Evertjan. The Netherlands. (Please change the x'es to dots in my emailaddress)
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next 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