开发者

How to pass data from javascript to python?

I have a javascript file, on click of a submit button i n开发者_如何学运维eed to pass user information to my python exe?

From the python exe i need to load and a call a function in my vc++ dll?

Please provide me your valuable inputs?


Er - is this in a browser context? I apologize if not..

You'd probably need to use XMLHttpRequest to make an HTTP request to your server-side script and pass variables either through GET or POST.

See http://xkr.us/code/javascript/XHConn/ for a decent minimal cross-browser script.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜