4

请熟悉 JavaScript、DOM 或 Ajax 的路人帮忙

 3 years ago
source link: https://yihui.org/cn/2008/09/help-me-submit-a-form-to-cgi/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

请熟悉 JavaScript、DOM 或 Ajax 的路人帮忙

谢益辉 / 2008-09-28


在下现在有个小技术问题,自己去钻研太浪费时间了,因此拜求江湖高手帮我一把。问题是这样,我想提交一个表单给某个网站的 CGI 执行,然后把执行返回结果中的图片地址都拿出来。提交和执行过程中不要影响当前的 HTML 页面(即:不要直接跳转到 CGI 页面,这似乎是 Ajax 的特征)。以下是普通的表单界面:

plot(1); plot(rnorm(100)); plot(rnorm(100))

返回的图片 URL 放在一个数组中即可。谢谢!

有谁在课上用统计动画 跨域提交表单的障碍

Disqus Utterances Preferences

© Yihui Xie 2005 - 2020

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK