var ck =top.fraLeftFrame.document.getElementsByTagName("a");//('a')[0];改为var ck =window.frames["fraLeftFrame"].document.getElementsByTagName("a");//('a')[0];

解决方案 »

  1.   

    关键是你没有指向到IFRMAE内部去
      

  2.   

    you might be able to use some security loopholes to do that, but general it is NOT possible to access DOM for pages from another domainif you want to use contents from another domain, do it on the server side with MSXML2.ServerXMLHTTP or other components
      

  3.   

    supere(虚心求教) :照你的改了,还是不对啊。同样的错误。
      

  4.   

    you missed the point, it is NOT possible to do it on the client side with javascriptretrieve the page using "MSXML2.ServerXMLHTTP" component, then parse the content using regular expressions
      

  5.   

    saucer(思归)说的没错,你可以在服务器端使用XMLhttp来完成你要的功能