The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.
Use selects choice from drop-down box 1 in a form. As soon as this is done, drop-down box 2 in the same form becomes populated with a list of items (can be hard coded, doesn't matter) without having to make another request to the server. The items to be shown in drop-down box 2 are dictated by the item chosen in drop-down box 1 (i.e. every time use changes selection in DDB1, list changes in DDB2.)
I'm sure I've seen it done on many a website, I just don't know how to go about doing it! :-/
> Steal the code from SR's Printers page.
Ah mate, that's perfect! Trouble is I've done it down, and can't be arsed to change it. Ah well, maybe I'll get time to come back to it at the end. Cheers for that. :)
I've worked out a way to do it, which although isn't exactly how I would've liked it (involves loading the page again), does the job nicely enough. Once the whole website is finished, hopefully I'll have time to come back and have a look at little things like this.
Should perhaps get myself a decent Javascript book. :)
Good idea, I'll have a nose around...
Just find a site that does it and copy the code.
Use selects choice from drop-down box 1 in a form. As soon as this is done, drop-down box 2 in the same form becomes populated with a list of items (can be hard coded, doesn't matter) without having to make another request to the server. The items to be shown in drop-down box 2 are dictated by the item chosen in drop-down box 1 (i.e. every time use changes selection in DDB1, list changes in DDB2.)
I'm sure I've seen it done on many a website, I just don't know how to go about doing it! :-/