🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.php
Article #231862

Re: innerHTML - czy używać?

#231862
From: Marek S
Date: Thu, 25 Jan 2018 23:18
12 lines
1201 bytes
W dniu 15-01-2018 o 12:26, Roman Tyczka pisze:
> 
> Potrzebuję zmodyfikować zawartość paragrafu <p> z poziomu JS.
> Czy innerHTML jest, że tak powiem,. koszerny? Czy może nie powinienem go
> używać i inaczej modyfikować htmla?
> 

innerHTML lub textContent w zależności od potrzeb

-- 
Pozdrawiam,
Marek
Technical Details
Message-ID: <p4dol5$eb4$1@node1.news.atman.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mail
References: <1r91f29s98fgj$.dlg@tyczka.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mail
From: Marek S <precz@spamowi.com>
Newsgroups: pl.comp.lang.php
Subject: Re: innerHTML - czy używać?
Date: Fri, 26 Jan 2018 00:18:56 +0100
Organization: ATMAN - ATM S.A.
Lines: 12
Message-ID: <p4dol5$eb4$1@node1.news.atman.pl>
References: <1r91f29s98fgj$.dlg@tyczka.com>
NNTP-Posting-Host: 89-69-207-111.dynamic.chello.pl
Mime-Version: 1.0
X-Trace: node1.news.atman.pl 1516922341 14692 89.69.207.111 (25 Jan 2018 23:19:01 GMT)
X-Complaints-To: usenet@atman.pl
NNTP-Posting-Date: Thu, 25 Jan 2018 23:19:01 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2
In-Reply-To: <1r91f29s98fgj$.dlg@tyczka.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit