Article View: pl.comp.lang.javascript
Article #39852RegularExpression w JS
From: Insane
Date: Fri, 12 May 2006 12:56
Date: Fri, 12 May 2006 12:56
13 lines
1324 bytes
1324 bytes
Witam.
Mam pytanie czy mozna uzyc JS'owego RE w takiej kontrukcji:
document.getElementById('/*admin*/').style.display="none";
chodzi o to zeby wybral mi wszystkie elementy z drzewka DOM o ID
zawierajacym "admin".
Wydaje mi sie ze nie da sie,
a w takim wypadku, czy jest jakas prosta metoda zeby to zrealizowac?
pozdrawiam,
Technical Details
Message-ID:
<1147438614.764149.247330@u72g2000cwu.googlegroups.com>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.glorb.com!postnews.google.com!u72g2000cwu.googlegroups.com!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.glorb.com!postnews.google.com!u72g2000cwu.googlegroups.com!not-for-mail From: "Insane" <mgolunski@gmail.com> Newsgroups: pl.comp.lang.javascript Subject: RegularExpression w JS Date: 12 May 2006 05:56:54 -0700 Organization: http://groups.google.com Lines: 14 Message-ID: <1147438614.764149.247330@u72g2000cwu.googlegroups.com> NNTP-Posting-Host: 80.241.130.170 Mime-Version: 1.0 X-Trace: posting.google.com 1147438620 5459 127.0.0.1 (12 May 2006 12:57:00 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 12 May 2006 12:57:00 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Opera/8.51 (X11; Linux i686; U; en),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: u72g2000cwu.googlegroups.com; posting-host=80.241.130.170; posting-account=vKOznw0AAACs07Q5bBL1GA2ygwr7GmE9 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit