开发者

Load form data in JavaScript and run something client side

The original framework of my app (using Python) is below:

  1. user key in keywords in forms.
  2. App use the data in forms as parameter to get some results from third-party website.
  3. The result which is from third-party website will be analyzed in my app.
  4. Then show the result of analyze to user.

But there are some problems between my app and third-party website, so I want to change the framework of my app.

开发者_开发知识库
  1. user key in keywords in forms.
  2. store the keywords which in forms as cookie.
  3. automatically download one javascript which in my app (website), and run the javascript in user's computer.
  4. the javascript will get result from third-party website, and then sent the result to my app.
  5. my app will analyze the result (from third-party website) and then show the result of analyze to user.

I want to know how can I do this, or what keyword should I search in Google.


It's very unclear what you are looking for. If the question is about server push keywords are WebSockets,Socket.io,Ajax,Comet,Bayeux to start with

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜