| Subject: | re:apply tidy directly for the page loaded with webkit without saving it on the disk |
|---|---|
| From: | "medi m" |
| Date: | Tue, 10 Jun 2008 10:39:58 +0100 |
|
thank's André I did read the documentation on addToJavaScriptWindowObject but it is not detail, I think that the explacation of addToJavaScriptWindowObject on the site
http://doc.trolltech.com/4.4/qwebframe.html #
addToJavaScriptWindowObject is I was put this part as comment:very short (we can understand a function in just two words!!!!!!!!!!!!!!!!!!), brief /*if (!m_dataObject) { m_dataObject = new TestObj(); f->addToJavaScriptWindowObject("dataOutput", m_dataObject); }*/ and i change script like this: var anchorList = document.getElementsByTagName("a") ; alert(anchorList[1].href); Please I want to know What's the role of addToJavaScriptWindowObject function? If it is possible I want to know what it make exactly!! Cheers. Sanaa |
| Previous by Date: | Re: QPlainTextEdit, Matthias Ettrich |
|---|---|
| Next by Date: | Re: Sorting QTableView / DomModel, Christoph Duelli |
| Previous by Thread: | Re: apply tidy directly for the page loaded with webkit without saving it on the disk, André Somers |
| Next by Thread: | Re: apply tidy directly for the page loaded with webkit without saving it on the disk, Birger Retterstøl Olaisen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |