On 5/3/07, Velda Christensen <[EMAIL PROTECTED]> wrote:
Can anyone point me in the right direction for a how-to on this? I just
need to be able to make a few option lists, where if you select an
option in list A, it pulls up that subset and displays it in list B.
Prime example: http://utahrealestate.com/
I'd imagine this is a pretty standard trick but I'm not sure what to
call it to search for it. Trying to point a user in the right direction
here myself.
Well you can do it one of two ways. One is to use ajax (not
recommended unless you've got a ton of potential data available, only
a small subset of which is likely to be seen or used at any one time).
The other is to just dump it all into the javascript when the page
loads.
Either way you're going to want to become familiar with the DOM, as it
relates to the dropdown. You can then use javascript to manipulate
it. I recommend avoiding innerhtml and accessing the dropdown's
properties directly.
Sorry I cant point you to anything more specific than this. My brain
is half-broken right now. Also, I don't think this is off-topic at
all.
Dan
_______________________________________________
UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net