PDA

View Full Version : CGI to HTML


xpl911
08-14-2006, 08:47 AM
Hi,

I have a cgi script where once you link to it, it displays 2 lines of text.

What I want to do is have the output of the cgi autocomplete into two textboxes of a form.

Is this possible, and if so how would I do it.

I am not very familiar with cgi.

Thank you.
Alex

nkrgupta
08-14-2006, 12:21 PM
Autocomplete is totally a client side affair as against CGI which is server side. So javascript is the solution to implement it. To achieve what you want, grab your CGI output in variables and use javascript to put those variables in array to be used as your autocomplete text. You will find enough autocomplete scripts via google and/or the JavaScripting section of these forums.

DELOCH
08-14-2006, 08:05 PM
What are you trying to achieve?