我在page.On點擊鏈接彈出應要求url.I有window.open代碼上點擊如下不開放的URL window.open
<a href="javascript:;" onclick="window.open('/action.do?name=aravind&age=19&url=http://astrik.com/click?id=613*B&offerValue=2.9','chatWindow','menubar=1, scrollbars=yes, resizable=yes, width=600,height=450');return false;">Click here</a>
呈現一個鏈接上面的鏈接彈出窗口是打開的url upto http://astrik.com/click?id=613 * B和offerValue沒有顯示在彈出的URL中。我需要將offerValue顯示在url.Any不顯示offerValue的任何原因。
它爲我工作:http://jsfiddle.net/Ybue3/ –
你試過用代碼%2a代替*嗎? –
我用%26取代了它。它工作得很好 – user521024