所有软件外包项目 Gray arrow bg JavaScript Project

JavaScript Project 资金已经托管 线上项目,线下洽谈,智城安排

发包方 : Sandra robertson 接包方 : Karta_mobile 状态 :完成
项目编号 : 90120
项目预算 : 多于$100
开发周期 : 7 天
技能 : JavaScript
发布日期 : 2009-10-19

描述

I would like a script, written in JavaScript, that passes a variable to the server in a url string, and then sets the variable as a cookie on the visitors computer. I would then like to be able to retrieve this cookie and pass it as a hidden form field, when a particular form is submitted.

Example:
http://www.mydomain.com/?afid=123456

Once the visitor gets to www.mydomain.com , the afid is read; a cookie is set with the value 123456, on the visitors computer.

Then when an order form is submitted, I would like to have a hidden form field that I can set and have it pass the cookie as part of the form submission.

This is very similar to an affiliate program where a affiliate sends their unique link, and it sets the value that can be retrieved to determine the source of the order later.

Thanks

竞标

请您先登录,然后提交此项目的竞标方案。
还不是智城用户? 智城期待您的加入,请注册成为我们的一员吧!
Project ad2