Content-Type: text/plain; charset="ISO-8859-1" Message-ID: <5197055.52DYd0GEcd@PointedEars.de> From: Thomas 'PointedEars' Lahn Reply-To: Thomas 'PointedEars' Lahn Organization: PointedEars Software (PES) Date: Fri, 31 Jan 2014 13:55:02 +0100 User-Agent: KNode/4.11.3 Content-Transfer-Encoding: 7Bit X-Face: %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&. MIME-Version: 1.0 Lines: 31 NNTP-Posting-Date: 31 Jan 2014 13:55:04 CET NNTP-Posting-Host: e96c57c4.newsspool4.arcor-online.net X-Trace: DXC=@3OSkcXelH=^cW`WBF>WQ<4IUK WanWan wrote: > >> I've already changed using javascript: ^^^^^^^^^^^^^^^^^^^^ >>
...
>> to >>
...
>> Now the style no longer apply. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> A possible solution is to change using javascript: >> div#example { color: blue; ... } >> to >> div.example { color: blue; ... } >> OR apply div#example to
> class='example'> some other way. > > I think you're looking for the 'className' property, eg. > >
...
> onClick="document.getElementById('id1').className='class2';"> I think you want to read their posting again. -- PointedEars Twitter: @PointedEars2 Please do not Cc: me. / Bitte keine Kopien per E-Mail.