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
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; ';  

is executed, fill the DIV with the content of the second (generated) page.
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

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -