From: Dr J R Stockton on 21 Nov 2009 18:20 In comp.lang.javascript message <ed6eac53-0d59-47ea-8442-504e0ef4e481(a)x5 g2000prf.googlegroups.com>, Sat, 21 Nov 2009 03:29:42, Aaron C <farfromunique(a)gmail.com> posted: > >Where I'm stuck is getting javascript in _top to read ANYTHING in >_bott. I don't know if I have bad syntax, or if i'm missing a step in >my code, or if what I'm trying to do is actually even possible. > >Any way you can help? A copy of <URL:http://www.merlyn.demon.co.uk/linxchek.htm> does that, accessing the whole displayed text and the links and anchors arrays. To see how, scan its source for "Fram" and read near where you see it. Everything it reads is on the same system as it is itself. But, from your description, ISTM that you may be trying to use a page in your domain to read the content of an iframe loaded from an alien domain. And ISTM that, if that could be done, it could easily be misused. You should, of course, have mentioned the nature of the error messages reported in the Error Console or equivalent. For me, Firefox generally gives the most rapidly useful report; but, where that does not help enough, the extra detail on Opera is sometimes useful. -- (c) John Stockton, nr London, UK. ?@merlyn.demon.co.uk Turnpike v6.05. Web <URL:http://www.merlyn.demon.co.uk/> - w. FAQish topics, links, acronyms PAS EXE etc : <URL:http://www.merlyn.demon.co.uk/programs/> - see 00index.htm Dates - miscdate.htm estrdate.htm js-dates.htm pas-time.htm critdate.htm etc.
|
Pages: 1 Prev: Encapsulation and js, html, css Next: Positioning DIV for Predictive-Test/LOV/Suggest-list |