onclick event from button does not work
Hello,
If you put a button in a div that's hidden when the page is loaded, the onclick event does not work.
For example, if you have a hidden dhtml pop-up dialig box that asks the user to confirm something by clicking on a button, the onclick event does not work for this button when the dialog box is popped-up after a certain action.
If you set visibility to visible when the page is loaded, then the button works fine. Only if you set visibility to hidden when the page is loaded, the button does not work.
Is this a bug?
If you put a button in a div that's hidden when the page is loaded, the onclick event does not work.
For example, if you have a hidden dhtml pop-up dialig box that asks the user to confirm something by clicking on a button, the onclick event does not work for this button when the dialog box is popped-up after a certain action.
If you set visibility to visible when the page is loaded, then the button works fine. Only if you set visibility to hidden when the page is loaded, the button does not work.
Is this a bug?
Dries GERIS
August 17,