javascript - How can I use Ajax, perl and JSON easy together? -


I am trying to create a webpage with Ajax.

Example:

  1. I create a Pearl / CIG file that triggers a simple post;

    File: ..test.cgi? Name = Thomas

    Back to the text: Thomas is your name!

  2. 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

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -