Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 20th, 2005, 06:41 PM
kaeli
Guest
 
Posts: n/a
Default IE doesn't show hourglass when form is submitted, but netscape does


Hey all,

This is a nitpick that I'd like to fix if possible...
I have a form that submits to a page that does some intense DB queries,
so the page takes about 30-45 seconds to load. Using Win2K, IE6, when
the submit button is clicked, it looks like nothing is happening (unless
you read the status bar and see the page opening text). Yet Netscape
shows a little hourglass, indicating that processing is occurring. Is
there a simple way to make IE show the hourglass so users don't just
keep clicking the submit button?

TIA

--
--
~kaeli~
Is it true that cannibals don't eat clowns because they
taste funny?
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

  #2  
Old July 20th, 2005, 06:41 PM
DU
Guest
 
Posts: n/a
Default Re: IE doesn't show hourglass when form is submitted, but netscapedoes

kaeli wrote:
[color=blue]
> Hey all,
>
> This is a nitpick that I'd like to fix if possible...
> I have a form that submits to a page that does some intense DB queries,
> so the page takes about 30-45 seconds to load. Using Win2K, IE6, when
> the submit button is clicked, it looks like nothing is happening (unless
> you read the status bar and see the page opening text). Yet Netscape
> shows a little hourglass, indicating that processing is occurring.[/color]

But that's the process of sending the form data only. That does not
refer to the time taken by the server, for the DB queries.

Is[color=blue]
> there a simple way to make IE show the hourglass so users don't just
> keep clicking the submit button?
>
> TIA
>[/color]

<form onsubmit="this.style.cursor = 'progress';" ...>

Not tested. I wonder if the cursor reverts back to auto once the form
data has been submitted... I'm afraid it does not.

Anyway I believe this can not be a correct solution to your situation. I
would need more details. For starters, it is rather strange IMO that
MSIE does not change the cursor while the application is busy sending
the form data. What happens at the database is out of the client
application reach, scope. That's part of the problem I see with the
cursor. 30-45 sec. is very long wait for an user trying to submit form data.

DU
  #3  
Old July 20th, 2005, 06:45 PM
kaeli
Guest
 
Posts: n/a
Default Re: IE doesn't show hourglass when form is submitted, but netscape

In article <c0vske$7cm$1@news.eusc.inter.net>,
drunclear@hotWIPETHISmail.com enlightened us with...[color=blue][color=green]
>>[/color]
> But that's the process of sending the form data only. That does not
> refer to the time taken by the server, for the DB queries.
>[/color]

Actually, it seems to be the process of loading the new page, but I'm
not sure.
[color=blue][color=green]
> >[/color]
>
> <form onsubmit="this.style.cursor = 'progress';" ...>
>
> Not tested. I wonder if the cursor reverts back to auto once the form
> data has been submitted... I'm afraid it does not.
>[/color]

Why wouldn't it? The page is no longer there. Of course, I can just
change it back when the page loads.
I'll test it and see.
[color=blue]
> Anyway I believe this can not be a correct solution to your situation. I
> would need more details. For starters, it is rather strange IMO that
> MSIE does not change the cursor while the application is busy sending
> the form data.[/color]

The data was sent. The page takes about 30 seconds to load, 45 on a bad
day. It's the processing that takes a long time.
[color=blue]
> What happens at the database is out of the client
> application reach, scope. That's part of the problem I see with the
> cursor. 30-45 sec. is very long wait for an user trying to submit form data.[/color]

It's just the one report that takes that long. The query selects a
decent amount of data, which doesn't take too long, but then it has to
manipulate the data 16 ways to sunday, producing tables that look like
Excel crosstabs.
Not my idea! The users asked me to do it because they are retarded at
using Excel and they don't want me to just make macros for them to use
(god forbid they copy and paste data into excel).
They won't give me money for a nice 3rd party tool like WebFocus or
Crystal Reports. So, I'm stuck chugging it through Java. I was happy
with 30 seconds!
This is an intranet app, so I'm not torturing anyone who doesn't know
the page takes time to load. heh

Thanks!

--
--
~kaeli~
What's another word for thesaurus?
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

  #4  
Old July 20th, 2005, 06:45 PM
kaeli
Guest
 
Posts: n/a
Default Re: IE doesn't show hourglass when form is submitted, but netscape

In article <c0vske$7cm$1@news.eusc.inter.net>,
drunclear@hotWIPETHISmail.com enlightened us with...[color=blue]
> onsubmit="this.style.cursor = 'progress';"
>[/color]

This worked a treat.

Thanks again!

--
--
~kaeli~
Dancing cheek-to-cheek is really a form of floor play.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles