Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: javascript-perl interaction

by erroneousBollock (Curate)
on Nov 23, 2007 at 03:47 UTC ( [id://652489]=note: print w/replies, xml ) Need Help??


in reply to javascript-perl interaction

The concept you're after is AJAX (Asynchronous Javascript and XML).

The javascript should use the XMLHttpRequest object provided by the browser to make HTTP requests to the server.
Although the AJAX acronym specifies sending XML messages, you can send whatever you like.

Various javascript libraries exist to help you do AJAX (and other javascript tasks) more easily (and with browser bugs smoothed over).
I'd recommend jQuery, or Dojo.

-David

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2026-02-10 11:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.