Click here to Skip to main content
15,892,697 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Background

I have a asp classic page.in which a button.. as i click on the button a popup open with window.showModalDialog() option ... , actually the popup is aspx page,

as i click on the button the popup is taking time because it has data & functionality,,
I am displaying a div having loading.gif during that time..


Question
I want to close the div ....
I am using javascript,,,,

Is there is any thing from which I can close or hide the div of loading image...


I have another Question after the answer of this Question
Posted
Updated 17-Aug-12 8:27am
v2
Comments
Arunprasath Natarajan 18-Aug-12 8:20am    
Why cant try with hiding and displaying the image when it is loading.

1 solution

You can pass something on the URL to the popup in question to get it to render differently. Going between servers or at least platforms, that's really your only option, but it's also the most logical one.
 
Share this answer
 
Comments
Ali_100 17-Aug-12 15:51pm    
I was passing an id with query string ,,, wat do u want to say?? which should i pass with URL?can u elaborate?
AmitGajjar 18-Aug-12 0:41am    
you can use jQuery on queryString parameter and hide your div.
Christian Graus 17-Aug-12 15:54pm    
Yes, the query string is how you pass things on the URL. Pass a value telling the page to render differently, however you want it to do that.
Ali_100 20-Aug-12 1:34am    
Christian Graus can u give me this type of sample.. what should i pass through query string that will hide the div of parent window.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900