Dynamically create list of directories for search

P

Petyr David

Current:

web page has hard coded directories (using checkboxes) user may choose
to search for files matching a pattern they enter in text box. Perl is
used to search for files and to format HTML output.

Desired:

dynamically created group of checkboxes upon opening web page. My
initial idea is to have user run separate Perl script to find
directories and built the HTML output. they would then make their
choices from group of directories.

Is there a way WITHIN the web page for JavaScript to call the Perl
script and have it return the directory names and modify the HTML to
create the checkboxes? or a drop menu?

TX - replies may also be sent to (e-mail address removed)
 
P

pcx99

Petyr said:
Current:

web page has hard coded directories (using checkboxes) user may choose
to search for files matching a pattern they enter in text box. Perl is
used to search for files and to format HTML output.

Desired:

dynamically created group of checkboxes upon opening web page. My
initial idea is to have user run separate Perl script to find
directories and built the HTML output. they would then make their
choices from group of directories.

Is there a way WITHIN the web page for JavaScript to call the Perl
script and have it return the directory names and modify the HTML to
create the checkboxes? or a drop menu?

TX - replies may also be sent to (e-mail address removed)


Search google for "ajax tutorial". You can also find a nice article
here http://www.hunlock.com/blogs/Concurrent_Ajax ( shameless self-link ).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top