使用C#& Java脚本如何获得价值
我有这样
"http://localhost/Server/Vehicle/Vehicle.aspx?appid=5"
的链接,当我使用这个链接页面被打开......但我要得到这个的appid值,然后这个值APPID传递给另一个链路
在上述链路的appid值为5
对于实施例
链接1 http://localhost/Server/Vehicle/Vehicle.aspx?appid=5
在链接2值5应该显示像这样的 “http://localhost/Server/Vehicle/car.aspx?appid=5
”
试过代码
<a href="car.aspx?param=document.getElementById('appid').value">Entry</a>
但在另一个页面的链接显示这样
http://localhost/Server/Vehicle/car.aspx?param=document.getElementById('appid').value
如何获得appid价值。我想这个值,如下所示检索appid
查询变量的值传递到另一条链路
需要编写代码帮助
当你运行你的代码?在什么事件? – Kobi 2010-08-16 06:03:20
请显示您的完整(尽可能)代码。 – Strelok 2010-08-16 06:07:00
Gopal - 你已经编辑了无法识别的问题':)',你应该可能会问一个新的问题... – Kobi 2010-08-16 06:10:08