I've taken over a complicated (for me) working internal application that uses DHTMLX for it's framework.
I need to use dhxWins to pop up a new page and I want to run a javascript function immediately after it loads.
Popping up the new page is not a problem, but everything I've tried with window.load is ignored.
The link the user clicks to popup the page uses onclick='openwindow(...);' so I added the javascript function after that - still doesn't happen - the window opens, but the second function (which would just display an alert) doesn't execute.
The second function is contained in a .js file that is opened from the newly opened page. I've also tried adding the .js link to the page the user is clicking on.
Complicated? Sorry if I've been unclear on how things are. Let me know if you need any more info to help me.
If you have anything else I should try, please let me know.
Thanks.
I need to use dhxWins to pop up a new page and I want to run a javascript function immediately after it loads.
Popping up the new page is not a problem, but everything I've tried with window.load is ignored.
The link the user clicks to popup the page uses onclick='openwindow(...);' so I added the javascript function after that - still doesn't happen - the window opens, but the second function (which would just display an alert) doesn't execute.
The second function is contained in a .js file that is opened from the newly opened page. I've also tried adding the .js link to the page the user is clicking on.
Complicated? Sorry if I've been unclear on how things are. Let me know if you need any more info to help me.
If you have anything else I should try, please let me know.
Thanks.