I have this simple html page with a single inputbox
When I call my FFaddon, I need to get the id of that inputbox.
I know thats its document.getElementById('id').value to get the value
from the inputbox but it doesn't from inside XUL. Its always null.
What do I need to interact with the html page on which I call the
addon?
>I know thats its document.getElementById('id').value to get the value
>
>
Wrong document; you're working with the XUL document and you need to
work with the web page's document, which is content.document, see
https://developer.mozilla.org/en/Working_with_windows_in_chrome_code#Accessing_content_documents
--
Warning: May contain traces of nuts.
content.document was idd what I was looking for. Thank you!