javascript - Find in IE not looking in DIV set with innerHTML -
I have a page with 3 DIV, one title, one selection list and the third will be in the selection list Once something is selected, filled with data is executed, fill the DIV with the content of the second (generated) page.
When something is selected, code such as
document. InnerHTML = '& lt; Object type = "text / html" data = "'+ field page +'" style = "width: 70%; height: 90%" & gt; & Lt; / Object & gt; ';
I can see the page in Chrome and IE, but ... ...
... When I search for something, Chrome also finds it in the DIV filled with internal HRM, but IE does not.
IE is in search of header and selection list DIV only.
Find the entire page to get any suggestions ie?
Try it out:
var node = document.createElement (" Object "); Node Type = "text / html"; Node.data = fieldsPage; Node.style.width = "70%"; Node.style.height = "90%"; Document.getElementById ("Fields"). InnerHTML = ""; Document.getElementById ("regions") appendChild (node).
Good luck.
Comments
Post a Comment