Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Calling Perl function and script from javascript and backwards

by gav^ (Curate)
on Jul 17, 2002 at 17:19 UTC ( #182521=note: print w/ replies, xml ) Need Help??


in reply to Calling Perl function and script from javascript and backwards

You could use a framework like OpenThought:

OpenThought is a powerful and flexible web application environment. OpenThought applications are different from other web applications in that all communication between the browser and the server is performed in the background. This gives a browser the ability to receive data from the server without ever reloading the currently loaded document. Data received can be displayed automatically on the existing page, can access JavaScript functions and variables, and can load new pages. Additionally, OpenThought completely manages all of your session data for you. These features give the look and feel of a full-blown application instead of just an ordinary Web page.
I've not ever used it, but I have done a similar thing, basically using a hidden frame and javascript. You call a cgi script which returns javascript code to do things.

Hope this helps..

gav^


Comment on Re: Calling Perl function and script from javascript and backwards

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://182521]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2014-08-23 08:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (173 votes), past polls