On Tue, 17 Nov 2009 19:20:42 +1000, Thomas Bätzler <t.baetz...@bringe.com> wrote:

Hi,

Jeff Pang <pa...@uk2.net> wrote:
On Nov 17, 2009, Dave Tang <d.t...@imb.uq.edu.au> wrote:
> Is it possible to implement an incremental find* feature on a Perl CGI
> page? I'm running Apache2 with mod_perl on linux.
>
> For example, if I have a list of stuff (A, Aa, B, Bb, C, CA, etc. stored
> in a file or database) and when a user starts typing in A into the web
> form, 2 suggestions in a drop down menu will come up (A and Aa but not
> CA). Users will be able to click on this drop down menu and the web form
> will be filled with what they clicked on. A real life example would be
> Google Suggest**.

This is the stuff JavaScript will do, nothing about CGI, which is a server-end implement.

Yes and no. What the OP is inquiring about is a combination of technologies that are usually referred to as AJAX[1]. One possible starting point would be CGI::AJAX[2].

After reading a bit more into this, AJAX seems like it is the most popular way to implement such a feature.

And I think I will be using (or try to anyway) CGI::AJAX to develop my AJAX applications.

Thanks for all the replies (Thomas, Jeff and Owen)!

Dave


HTH,
Thomas

[1] http://en.wikipedia.org/wiki/Ajax_(programming)
[2] http://search.cpan.org/~bpederse/CGI-Ajax-0.707/lib/CGI/Ajax.pm


--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to