RESOLVED INVALID 77731
[Qt] QWebElement.appendInside - JavaScript not working inside of added HTML fragment
https://bugs.webkit.org/show_bug.cgi?id=77731
Summary [Qt] QWebElement.appendInside - JavaScript not working inside of added HTML f...
Andreenko Sergey
Reported 2012-02-03 05:46:20 PST
Hello! I have some HTML code that I create in app and viewing in QWebView. Periodically I need to add fragment to DOM, this fragment reads from file and can include some javascript code. Fragment like this <!--MessageIn--> <div class="space">&nbsp;</div> <div class="in MessageIn" id="oneShot"> <div class="tr"> <div class="bl"> <div class="br"> <p class="head"> <span class="time" id="time">%time%</span> <span class="name" id="name">%name%</span> </p> <p class="content"> <span class="text" id="text"><script>getitall('%text%','%name%','%cid%','%base%',meldungsart[0]);</script></span> </p> </div> </div> </div> <script type="text/javascript">animation1();</script> JavaScript functions getitall and animation1() are not being executed.
Attachments
Jocelyn Turcotte
Comment 1 2014-02-03 03:19:59 PST
=== Bulk closing of Qt bugs === If you believe that this bug report is still relevant for a non-Qt port of webkit.org, please re-open it and remove [Qt] from the summary. If you believe that this is still an important QtWebKit bug, please fill a new report at https://bugreports.qt-project.org and add a link to this issue. See http://qt-project.org/wiki/ReportingBugsInQt for additional guidelines.
Note You need to log in before you can comment on or make changes to this bug.