i hava a <div>-section in my HTML which I build in a seperate JS-file when loading the page. initially this section is hidden.
when i press button on my HTML-page (actually it is a JSP-page but i think this does not matter) the <div>-section should be visible.
in a "normal" html page (without a frameset) this works fine, i can address my div-section called "working" via:
document.getElementById('working');
as soon as i use a frameset i have no chance to address the element with the code above and i also do not find any method to address my div-section, the following does not work:
parent.mainFrame.document.getElementById('working')
this always brings NULL!!!
any idea how i can address the div-section in my javascript?!
thanks
bernhard
when i press button on my HTML-page (actually it is a JSP-page but i think this does not matter) the <div>-section should be visible.
in a "normal" html page (without a frameset) this works fine, i can address my div-section called "working" via:
document.getElementById('working');
as soon as i use a frameset i have no chance to address the element with the code above and i also do not find any method to address my div-section, the following does not work:
parent.mainFrame.document.getElementById('working')
this always brings NULL!!!
any idea how i can address the div-section in my javascript?!
thanks
bernhard