http://qs321.pair.com?node_id=77539

daveh71 has asked for the wisdom of the Perl Monks concerning the following question:

I'm trying to get my PERL-CGI-DBI program to be a bit more userfriendly. I've begun to venture into the presumably ugly land of javascript.

What I'm trying to accomplish is:
To have a series of textboxes with data from my database in them, and when I change one, the DB automaticlly updates without having to hit 'submit'.

I got close to solving it using the onChange parameter in my input field...calling a javascript function, but i was unable to call my perl function that updates the DB from inside the javascript function. confused?

Questions:
Is it possible to call a perl function from onChange?
or is it possible to call a perl function from within a javascript function
or is there a completely different way to do this that I havn't thought of?

any help is greatly appreciated
Thanks,
david