homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / WebmasterWorld / Webmaster General
Forum Library, Charter, Moderators: phranque

Webmaster General Forum

Populating forms "on the fly"
...how do they do that?

 2:42 am on Mar 6, 2006 (gmt 0)


I've developed a website that, when a customer selects from one drop down box other drop down boxes are populated. I've achieved this by reloading the page and passing the initial selection back into it.

When I look at some other websites that do the same thing they appear to be able to do this without re-loading the page and it looks a lot smoother than my page.

How do they do that? In my case there are way too many options to pre-load my page with. I'm currently using ASP and JavaScript - do these geniuses use a different language to create that neat population trick?





 8:03 am on Mar 6, 2006 (gmt 0)

This can be achieved via DHTML (combination of Javascript and CSS) or even with CSS alone (hidden layers).


 8:26 am on Mar 6, 2006 (gmt 0)

Thanks Tombola

Would the use of DHTML or CSS suggest that the page has to first contain the complete list of, in our case, locations? If so, we currently have 3000+ locations so would that not make the page too big?

If not, I'll investigate how this could be achieved using DHTML. (any pointers greatfully received).

All the best



 11:42 am on Mar 6, 2006 (gmt 0)

Ajax technology was developed to solve this sort of problem. Try forum91. However, be aware that it requires server-side scripts to service client requests (from your form).



 11:49 am on Mar 6, 2006 (gmt 0)

Great Kaled, I'll take a look at that now...


Global Options:
 top home search open messages active posts  

Home / Forums Index / WebmasterWorld / Webmaster General
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved