I am almost done with my quest for a way to interact with
a postgresql database with a Perl CGI.

I am trying to find a way to interact with my
database via my iPad and web access seems to be
the key.

I basically have a form with a text box, users
can enter sql in the text box and hit the submit
button and the Perl CGI will do its magic on all of
the text in the box.

Query results will appear as html tables.

I would like one more enhancement...

I would like to be able to 'select' some text in
the text box and using possibly a different
submit button have the CGI code only process the
selected text.

My gut feeling is that this might involve using
javascript which is bad since it has been about
Fifteen years since I have written any js code....

Can anyone offer any guidance?

What I have now works well and looks good (to me)
on the iPad but I think that being able to select
text to 'execute' will improve the work flow.



Reply via email to