In case where all possible values of the drop-down that you want to
populate with data (I mean all possible values, for each value of the
other drop-down) and not that many (KBytes), you can use javascript and
load all the values on a javascript function and then just change the
active/visible set of the values when the user changes the selected
option of the other drop-down. This way you don't submit anything back
to the server.

But this is getting away from the CGI::App, you can do a web search for
javascript solutions on this subject and you will find many.


Giannis



Sean Davis wrote:
> Robert Hicks wrote:
>> I would like to populate one combo box with data when the user
>> chooses an option from another combo box.
>>
>> I am currently using CA and HT only and would like to keep it that
>> way if possible.
>>
>> If that answer is "Javascript" that is okay...I would rather it not. ; )
> Javascript is the "cool" way of doing it and does not necessarily
> require a round-trip to the server, but could (and if it were done,
> this is what people commonly call AJAX).
> The other way is to use an onChange attribute of the first combo box
> to submit the form back to the server.  The server would make the
> appropriate changes and then resend the page to the browser with new
> values for the combo boxes.
> Sean
>
> ---------------------------------------------------------------------
> Web Archive:  http://www.mail-archive.com/[email protected]/
>              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>

---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[email protected]/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to