读书人

获取JS选择到的多个ID传参数跳转到P

发布时间: 2012-05-22 18:18:54 作者: rapoo

获取JS选择到的多个ID,传参数跳转到PHP页面
现在我已经用JS把选择到的ID保存到COOKIE中了,怎样获取到这些ID,(有可能是2个或者3个ID)而且我要通过按钮进行传值到PHP页面
本人菜鸟
这个按钮

HTML code
<input name="" id="u427" type="button" class="hand fL" disabled  value="开始对比" onclick="window.open('compare.php?hotel_id={{$hotel.HotelId}}')"; />


[解决办法]
探讨
现在我已经用JS把选择到的ID保存到COOKIE中了,怎样获取到这些ID,(有可能是2个或者3个ID)而且我要通过按钮进行传值到PHP页面
本人菜鸟
这个按钮HTML code

<input name="" id="u427" type="button"
class="hand fL" disabled value="开始对比" onclick="window.open('compar……

读书人网 >PHP

热点推荐