Click here to Skip to main content
15,511,559 members
Home / Discussions / JavaScript
   

JavaScript

 
GeneralRe: eval() Vs setTimeout() Pin
Ankur\m/16-May-11 21:58
professionalAnkur\m/16-May-11 21:58 
GeneralRe: eval() Vs setTimeout() Pin
AspDotNetDev16-May-11 22:02
protectorAspDotNetDev16-May-11 22:02 
GeneralRe: eval() Vs setTimeout() Pin
Ankur\m/16-May-11 22:15
professionalAnkur\m/16-May-11 22:15 
AnswerRe: eval() Vs setTimeout() Pin
AspDotNetDev14-May-11 23:46
protectorAspDotNetDev14-May-11 23:46 
GeneralRe: eval() Vs setTimeout() Pin
Ali Al Omairi(Abu AlHassan)15-May-11 4:44
professionalAli Al Omairi(Abu AlHassan)15-May-11 4:44 
GeneralRe: eval() Vs setTimeout() Pin
AspDotNetDev15-May-11 7:56
protectorAspDotNetDev15-May-11 7:56 
GeneralRe: eval() Vs setTimeout() Pin
Ali Al Omairi(Abu AlHassan)15-May-11 12:04
professionalAli Al Omairi(Abu AlHassan)15-May-11 12:04 
Questionjquery wait Pin
fififlowertot5-May-11 1:48
fififlowertot5-May-11 1:48 
Hi ,
I on button click I open a jquery modal with iframe which loads another aspx page.
Now this other aspx page makes a call to webservice and then loads data. I have the service call on the page load of this page.
So there a gap between the modal window opens and the data load in it.
How can I implement a wait gif or just a text like say 'processing' till the data loads?

Thanks

My code is as below



<div id="mydiv" >
       <iframe id ="popup"  width ="100%" height="50%"></iframe>
   </div>


jquery/javascript

function openDialog() {

           var url = "test.aspx?NAME=" + encodeURIComponent($("#<%=txtName.ClientID %>").val());
           $("#popup").attr("src", url);

           $("#mydiv").dialog('open');
       }

$(document).ready(function() {

           $("#mydiv").dialog({
               autoOpen: false,
               modal: true,
               width: 500,
               scroll: true

           });

       });

AnswerRe: jquery wait Pin
Not Active5-May-11 3:21
mentorNot Active5-May-11 3:21 
QuestionWhy SetTimeout doesn't work inside object? Pin
Olli Ikonen2-May-11 12:19
Olli Ikonen2-May-11 12:19 
AnswerRe: Why SetTimeout doesn't work inside object? Pin
AspDotNetDev2-May-11 12:39
protectorAspDotNetDev2-May-11 12:39 
GeneralRe: Why SetTimeout doesn't work inside object? Pin
Olli Ikonen2-May-11 14:14
Olli Ikonen2-May-11 14:14 
GeneralRe: Why SetTimeout doesn't work inside object? Pin
AspDotNetDev2-May-11 14:19
protectorAspDotNetDev2-May-11 14:19 
GeneralRe: Why SetTimeout doesn't work inside object? Pin
Olli Ikonen2-May-11 14:56
Olli Ikonen2-May-11 14:56 
Question[RESOLVED] Preserve the form status Pin
CodingLover1-May-11 21:28
CodingLover1-May-11 21:28 
AnswerRe: Preserve the form status Pin
Sunasara Imdadhusen5-May-11 4:55
professionalSunasara Imdadhusen5-May-11 4:55 
GeneralRe: Preserve the form status Pin
CodingLover5-May-11 18:58
CodingLover5-May-11 18:58 
QuestionHow can i refresh status bar information... Pin
Olli Ikonen30-Apr-11 0:42
Olli Ikonen30-Apr-11 0:42 
AnswerRe: How can i refresh status bar information... Pin
DaveAuld30-Apr-11 0:59
professionalDaveAuld30-Apr-11 0:59 
GeneralRe: How can i refresh status bar information... Pin
Olli Ikonen30-Apr-11 1:31
Olli Ikonen30-Apr-11 1:31 
GeneralRe: How can i refresh status bar information... Pin
DaveAuld30-Apr-11 1:33
professionalDaveAuld30-Apr-11 1:33 
GeneralRe: How can i refresh status bar information... Pin
Olli Ikonen30-Apr-11 2:37
Olli Ikonen30-Apr-11 2:37 
GeneralRe: How can i refresh status bar information... Pin
Luc Pattyn30-Apr-11 3:26
sitebuilderLuc Pattyn30-Apr-11 3:26 
GeneralRe: How can i refresh status bar information... Pin
DaveAuld30-Apr-11 5:05
professionalDaveAuld30-Apr-11 5:05 
GeneralRe: How can i refresh status bar information... Pin
Luc Pattyn30-Apr-11 5:48
sitebuilderLuc Pattyn30-Apr-11 5:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.