I've a Linux C++ application with mozilla browser embedded.
The embedded browser shows the google page well.
I made a simple page with some javascript code, to do a test. The page has a
table with a text and the javascript changes the text with an image. If I
open the page with firefox it shows fine, but the embedded browser only
shows the text. Embedded browser supports javascript as firefox, in't it?
What's the problem?

Here is the source code:

<html>
 <head><title>TESTING</title>
    <script src="buildTable.js" type="text/javascript"></script>
 </head>
    <body bgColor="yellow" onload="buildTable();">
      <table id="myTable" border="2" width="400" height="400"><tr><td><span>
TEXT </span></td</tr><table/>

    </body>
</html>

// And this is the code of buildTable.js file:
function buildTable(){
 var build = '<tr><td><img src="food020.jpg" width="100"
height="100"></img></td></tr>';
    document.all.myTable.innerHTML=build;
}
_______________________________________________
dev-embedding mailing list
dev-embedding@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to