qt-interest@trolltech.com
[Top] [All Lists]

Re: apply tidy directly for the page loaded with webkit without saving i

Subject: Re: apply tidy directly for the page loaded with webkit without saving it on the disk
From: "medi m"
Date: Wed, 11 Jun 2008 10:24:35 +0100
Hello again André,
I have this problem:

when I made this script in my code it works well, and I get the first link.
     script ="var anchorList = document.getElementsByTagName('a') ; "
                "alert(anchorList[1].href)";

But if i make this script, it dons'nt work.
    script ="var anchorList = document.getElementsByTagName('a');
                "for(var i=0;i< anchorList.length();i++) "
                "{dataOutput.setData(anchorList[i].href);alert(anchorList[i].href);}";

   
I have not understood what is the problem I have improperly installed qt?
Regards.
<Prev in Thread] Current Thread [Next in Thread>