Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

executing a function after page load with DHTMLX

Status
Not open for further replies.

Griffyn

Programmer
Jul 11, 2002
1,077
AU
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top