By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,742 Members | 2,044 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,742 IT Pros & Developers. It's quick & easy.

"loading..." message on dropdownlist?

P: n/a
I have two dropdowns that take a few seconds to populate (they are
populated from a remote database, but the connection to the database is
not the best).

Is it possible to put a 'Loading...' message into the dropdownlist which
will show by default, and then will disappear when the dropdown is
populated?

Maybe this could be done through javascript or otherwise?

thanks.
--

fiddlewidawiddum
Jan 9 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Not unless you are populating it via javascript. You can put anything you
want in it on the server - but since the HTML isn't going to get to the
browser until you finish retrieving all the data anyway, the user isn't
going to see the dropdown until then anyway.

"Stimp" <re*@spumco.com> wrote in message
news:sl****************@carbon.redbrick.dcu.ie...
I have two dropdowns that take a few seconds to populate (they are
populated from a remote database, but the connection to the database is
not the best).

Is it possible to put a 'Loading...' message into the dropdownlist which
will show by default, and then will disappear when the dropdown is
populated?

Maybe this could be done through javascript or otherwise?

thanks.
--

fiddlewidawiddum

Jan 9 '06 #2

P: n/a
On Mon, 9 Jan 2006 Marina <so*****@nospam.com> wrote:
Not unless you are populating it via javascript. You can put anything you
want in it on the server - but since the HTML isn't going to get to the
browser until you finish retrieving all the data anyway, the user isn't
going to see the dropdown until then anyway.


I am populating it via javascript...

I have two dropdowns, County and District, that are populated using
javascript so that when County changes, District will also change
without having to reload the page.

Any chance you could show me how to add the 'loading' message in if I'm
pre-populating using javascript?

tia.

--

fiddlewidawiddum
Jan 9 '06 #3

P: n/a
One idea is to populate it with just 'loading...' on the server, and then on
the client populate it with the real data. so it will start out with
'loading...' and then end up with the real data.

"Stimp" <re*@spumco.com> wrote in message
news:sl****************@carbon.redbrick.dcu.ie...
On Mon, 9 Jan 2006 Marina <so*****@nospam.com> wrote:
Not unless you are populating it via javascript. You can put anything you
want in it on the server - but since the HTML isn't going to get to the
browser until you finish retrieving all the data anyway, the user isn't
going to see the dropdown until then anyway.


I am populating it via javascript...

I have two dropdowns, County and District, that are populated using
javascript so that when County changes, District will also change
without having to reload the page.

Any chance you could show me how to add the 'loading' message in if I'm
pre-populating using javascript?

tia.

--

fiddlewidawiddum

Jan 9 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.