开发者

script cgi: how to pass a number to the input field into that form? [duplicate]

开发者 https://www.devze.com 2023-03-23 23:33 出处:网络
This question already has answers here: 开发者_开发技巧 Closed 11 years ago. Possible Duplicate: Post data and retrieve the response using PHP Curl?
This question already has answers here: 开发者_开发技巧 Closed 11 years ago.

Possible Duplicate:

Post data and retrieve the response using PHP Curl?

It's a tracking from a delivery carrier...

The target url is the following: Link

Is it possible to directly pass the number to the page, instead of manually insert the tracking number? Thanks


A "low" level solution would be to use a html template library that replaces key words in an .html with values from you cgi application.

take a look at: http://www.algonet.se/~thunberg/template2doc

if that is not what you're looking for check out ajax to query your cgi and return a value - to use in your java script: http://www.w3schools.com/ajax/default.asp

Also , look at the jquery library for more elegant solutions: How can I call a CGI function within a javascript function?

0

精彩评论

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