[jQuery] Re: loading message shows up after page has loaded

2009-10-23 Thread sdtacoma
Dude! I think you might have gotten it working. This seems to work on my end... http://meded.ucsd.edu/testQuery.cfm On Oct 21, 4:45 pm, Karl Swedberg wrote: > yeah, I see it now. And I see the problem:   > doesn't appear in the HTML until about line 94,030. You can't block   > the UI with

[jQuery] Re: loading message shows up after page has loaded

2009-10-23 Thread sdtacoma
, "Rick Faircloth" wrote: > > > Mike!  Crawl back under your rock, you fathead!!! > > > There...how's that? :o) > > > Rick > > > -Original Message- > > From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On > > >

[jQuery] Re: loading message shows up after page has loaded

2009-10-21 Thread JMan
y...@googlegroups.com] On > > Behalf Of Mike Alsup > Sent: Wednesday, October 21, 2009 7:51 PM > To: jQuery (English) > Subject: [jQuery] Re: loading message shows up after page has loaded > > > Hope that helps. > > > --Karl > > Bah, this is getting entirely too civil.  Snooze...  :-)

[jQuery] Re: loading message shows up after page has loaded

2009-10-21 Thread Rick Faircloth
Mike! Crawl back under your rock, you fathead!!! There...how's that? :o) Rick -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Mike Alsup Sent: Wednesday, October 21, 2009 7:51 PM To: jQuery (English) Subject: [jQuery] Re: lo

[jQuery] Re: loading message shows up after page has loaded

2009-10-21 Thread Mike Alsup
> > Hope that helps. > > --Karl Bah, this is getting entirely too civil. Snooze... :-)

[jQuery] Re: loading message shows up after page has loaded

2009-10-21 Thread sdtacoma
Yes that is the correct link. I copied your example page and added a query to it... http://meded.ucsd.edu/testQuery.cfm On Oct 15, 2:02 pm, Karl Swedberg wrote: > Hi Josh, > > Now I'm really confused. Did you post the wrong link? This is what I   > see in the : > > > Untitled Document > >

[jQuery] Re: loading message shows up after page has loaded

2009-10-15 Thread sdtacoma
Hi Karl, I believe/hope I did everything that you asked. Problem still exists... http://meded.ucsd.edu/testQuery.cfm I do appreciate your help! Josh On Oct 14, 11:04 am, Karl Swedberg wrote: > > Wow, easy there Karl. I was just showing you working examples of the > > issue I was experienc

[jQuery] Re: loading message shows up after page has loaded

2009-10-14 Thread Mike Alsup
I'm enjoying this thread. :-) On Oct 14, 2:04 pm, Karl Swedberg wrote: > > Wow, easy there Karl. I was just showing you working examples of the > > issue I was experiencing. > > easy there? I was just trying to help. You showed examples that didn't   > include my suggestions, after we had alr

[jQuery] Re: loading message shows up after page has loaded

2009-10-14 Thread Karl Swedberg
Wow, easy there Karl. I was just showing you working examples of the issue I was experiencing. easy there? I was just trying to help. You showed examples that didn't include my suggestions, after we had already established that your first attempts were not going to work. Your code does no

[jQuery] Re: loading message shows up after page has loaded

2009-10-14 Thread sdtacoma
Wow, easy there Karl. I was just showing you working examples of the issue I was experiencing. I have applied the code that you sent me and it does work, kinda. Your code does not actually wait for the data to finish loading. It merely unblocks the UI after a period of time. This is not what I wa

[jQuery] Re: loading message shows up after page has loaded

2009-10-13 Thread Karl Swedberg
You're not using the script and styles I demonstrated in my demo page. You're using the blockui plugin instead. As I explained before, you're not going to get it to work if you have your script inside a document ready block because the DOM itself is the slow part (when running the SQL que

[jQuery] Re: loading message shows up after page has loaded

2009-10-13 Thread sdtacoma
Hello, Your example page does work as it should. Now replace the "Lorum Ipsum" content with content from a SQL Query and it won't work the same way. (at least that is the issue I am having) - http://meded.ucsd.edu/testQuery.cfm (does not work as expected, doesn't show the loading message while t

[jQuery] Re: loading message shows up after page has loaded

2009-10-12 Thread Karl Swedberg
You've lost me there. If you're trying to block the page based on some user interaction, then the blockui plugin should work just fine. I thought the problem you were having, though, was with the page not being blocked immediately when the user first visits the page. You asked about docume

[jQuery] Re: loading message shows up after page has loaded

2009-10-12 Thread sdtacoma
Thanks for you help Karl but that didn't seem to solve my problem. I have more info to add to the issue though. The "Loading..." message works great if there are say, images on the page loading. It does NOT work if I am waiting for a query to finish and it's results to be displayed back to the pa

[jQuery] Re: loading message shows up after page has loaded

2009-10-10 Thread Karl Swedberg
document.ready fires when the DOM is fully registered. If you have large images in the document, document.ready doesn't wait for those to completely load. So, it's typically earlier than window.onload, but it isn't going to fire before you see stuff on the page. I haven't tested this at all

[jQuery] Re: loading message

2009-05-21 Thread Macsig
Hi guys, thanks for your replies. I tried the binding but looks like it doesn't work but ajaxStart- ajaxStop works just fine so I will go with it. Have a nice day! Sig On May 20, 9:00 pm, gk wrote: > One way to do this is to use global events of jquery ajax, as below > > $("#ajaxLoading").

[jQuery] Re: loading message

2009-05-21 Thread gk
One way to do this is to use global events of jquery ajax, as below $("#ajaxLoading").bind("ajaxSend", function(){ $(this).show(); }).bind("ajaxComplete", function(){ $(this).hide(); }); pls note this will show a loading mess

[jQuery] Re: loading message

2009-05-21 Thread Karthikraj
Hi, You can use ajaxStart() and ajaxStop() to do this. $(document).ajaxStart(function() { //call your method to display loading message /(ex:) $ ('#loadingmessage').show(); }); $(document).ajaxStop (function() { //call your method to hide loading message/(ex