Then do have a look at HTML::Prototype. Prototype is a great JS library that has many AJAX type functions. HTML::Prototype is a perl wrapper for that library. There is also CGI::Application::Plugin::HTMLPrototype.

Barry

On Oct 10, 2006, at 6:02 PM, Robert Hicks wrote:

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

I have avoided Ajax up to now. I guess I will delve into.

Robert


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/cgiapp@lists.erlbaum.net/
             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/cgiapp@lists.erlbaum.net/
             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