I am referencing an iframe from another server in my website. The iframe is in a table format, and I want to get rid of the top two rows of the table for my website.
Is there any way I could display the iframe without the first two rows?
If the other server is effectively the same domain it should be possible. If not, not.
On my geographical filter page I load an IFRAME 4 times and inspect for a given parameter, extract the whole of the <TR> if it agrees and stitch together 4 tables of results.
I have had a frustrating few months figuring which of the various way to get at the text but finding the IFRAME by id (getElementByID) and then getting the rows by TAG (getElementsByTag - I think).
But there were several blind allies to the best pointer. innerHTML works on some, document.body.firstChild etc - I use FireFox and FireBug to find the pointers. I am sure there is a logic and syntax to the pointers but not in my head!
If you need help try looking at my code at http://www.users.waitrose.com/~cresby/fcctest3.htm but there are 800 lines just in the main file (.js). Best of luck. (I am not at my computer right now).
use something LIKE:
Create, Share, and Debug HTML pages and snippets with a cool new web app I helped create: pagedemos.com
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)