javascript - How can I use Ajax, perl and JSON easy together? -
I am trying to create a webpage with Ajax.
Example:
-
I create a Pearl / CIG file that triggers a simple post;
File: ..test.cgi? Name = Thomas
Back to the text: Thomas is your name!
-
I create an HTML file that can use the post, but then the page needs to be reloaded. I use text input and a button.
How can I use Ajax, Pearl and Jason together? How should this work together, but how?
HTML + Ajax / Javascript Call Pearl + "JSON-perl-string" Return-A Ajax Convert- JSON -> HTML
Try JSON.
To use XMLHttpRequest, I suggest this amazing tutorial from IBM.
In these two articles you are most interested:
You can get There are 11 whole series series.
Comments
Post a Comment