Hello,
I am using some buttons to navigate documents on a web page. Below are the sample code:
<input type="button" name="NavPrevious" onclick="ShowDoc('Previous');" value="Previous" />
<input type="button" name="NavNext" onclick="ShowDoc('Next');" value="Next" />
The navigation buttons are in an iframe, the document will be loaded to another iframe called loader_frame, and the ShowDoc javascipt function assign a doc url to parent.document.getElementById('loader_frame').src every time a user clicks a navigation button.
The navigation buttons work fine in IE and Opera, but they don't work in Firefox (the buttons seem to be disabled.).
If I add an alert line, such as alert("test"), in function ShowDoc, the navigation buttons work in Firefox.
Does anyone know how to resolve this kind of problem in Firefox?
Thanks.
HL


Reply With Quote
Bookmarks