我在我的網站有這個按鈕不起作用按鈕刷新頁面,如果我有得到的參數
<input class="large button gray input" id="refrescar" type="submit" value="Confirmar"/>
,我使用手動刷新該網站是這樣的:
$('#refrescar').click(function() {
location.reload();
});
它的工作原理在我的網頁,除了對那些有得到的參數這樣幾乎所有的網頁:
http://mywebsite.com/page.php?id=2
當我點擊該網頁時,該鍵G o至
http://mywebsite.com/page.php
代替。
我該如何解決這個問題?
哇,不能相信我犯了這個錯誤......謝謝。 –