The best suggestion would be use ajax. But the quickest method would be to target the link to an Iframe and have the activity happen there and display a please wait javascript message.
On Tue, May 13, 2014 at 9:43 PM, funand learning <[email protected]>wrote: > > All - > > I have a following link > > <a href="javascript:callExcel()>Generate excel</a> > > the function callExcel() just uses > document.form.action='excel.cfm?requesttimeout=1500'; > > When the 'Generate excel' link is clicked, the user stays on current page, > and the excel file is generated. The user never sees the actual 'excel.cfm' > which has 'Please wait...' message as we are writing lot of data to excel. > > I tried to overcome this by going to an intermediate screen which has > 'Please wait' message, and then redirecting to excel.cfm page, but once the > excel is written, I can still see 'Please wait...' message. > > What is the best way to handle this? > > Thanks. > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358649 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

