I have an input box within my html page and an iframe tag in there also. The search box is meant to grab an element from tree.html in the frame, but it doesn’t. How do I get the JS to search within the iframe of another page?
var val = document.getElementById(‘search’).value;
val = trim(val);