Link to home
Start Free TrialLog in
Avatar of HyperBPP
HyperBPP

asked on

Using javascript to make a pop-up dialog when page loads

I'm using a web application (using ColdFusion 9) to create  an excel file to give to the user to download.  When the page reloads the following is run

window.location.href = '#application.settings.absoluteURL#modules/#url.name#/excel/#fileName#';

This exectedly creates a dialog where the user can "save-as" the file.  However, this makes javascript on the page break (including some jquery items).  Is there an alternative javascript call to prompt a user with "save-as" dialog WHEN th epage loads.  Would prefer to not have to have them press a link.

Thanks!
ASKER CERTIFIED SOLUTION
Avatar of _agx_
_agx_
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of HyperBPP
HyperBPP

ASKER

Perfect!