I am trying to make a webpage with Ajax.
Example:
I create a Perl/CGU file that triggers a simple post;
File: ..test.cgi?name=Thomas
Text back: Your name is Thomas!
I create a html file that can use the post, but then the page have to reload. I use text input and a button.
How can I use Ajax, Perl and JSON easy together? This is how it should work together, but how?
Html + Ajax/JavaScript CALL Perl + "JSON-perl-string" RETURN-TO Ajax CONVERT-JSON -> Html