Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.datemas.de!uucp.gnuu.de!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail Content-Type: text/plain; charset="UTF-8" Message-ID: <1886653.GK6RMLq9Cu@PointedEars.de> From: Thomas 'PointedEars' Lahn Reply-To: Thomas 'PointedEars' Lahn Organization: PointedEars Software (PES) Date: Thu, 13 Jun 2013 13:12:18 +0200 User-Agent: KNode/4.10.2 Content-Transfer-Encoding: 8Bit X-Face: %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&. <51b86558$0$6630$9b4e6d93@newsspool2.arcor-online.net> MIME-Version: 1.0 Lines: 34 NNTP-Posting-Date: 13 Jun 2013 13:12:20 CEST NNTP-Posting-Host: 598eaa39.newsspool3.arcor-online.net X-Trace: DXC=RS2Fea3Ika=D]ncZ]`hZ;1McF=Q^Z^V384Fo<]lROoR18kF Don't forget that you can refine the selection repeatedly. > > eg select a specific table, then select all the rows, skip however many > rows contain headers, then start working through the data rows and the > cells in each data row > > So instead of document.getElementsByTagName you could: > > cells = document.getElementsById("table_id").getElementsByTagName("td"); > > to get all the td cells in a specific table > > Although you may want to work through them row by row: > > rows = document.getElementsById("table_id").rows; > a = // number of header rows in this table > for ( i = a; i < rows.length; i++ ) { > cells = rows.item(i).cells; > for ( j = 0; j < cells.length; j++ ) { > // cell number in data area, 0 index: > cellNum = ( i - a ) * cells.length + j; > // do something with cell here > } > } Your middle name must be “VK”. -- PointedEars Twitter: @PointedEars2 Please do not Cc: me. / Bitte keine Kopien per E-Mail.