0
我正在做一個原型和提交表單時的url操作導致我的問題。我只是想重定向到鏈接,但保持我的風格。有表單作爲一個簡單的重定向(HTML/PhoneGap)
<form method = "link" action="portal.html" class="forms">
<label>Username:</label>
<input type="text" name="username" />
<label>Password:</label>
<input type="password" name="password" />
<input type="submit" class="submit" />
</form>
我想提交充當一個直重定向..瓦特/追加?用戶名= &密碼=的重定向。
如果它有所不同,這是一個使用phonegap的android的html5項目。
我甚至不希望提交表單..我想提交按鈕充當簡單HREF。例如點擊提交併轉到a.html NOT a.html?username =&password = – DJPlayer 2012-03-28 14:46:02
@DJPlayer,請參閱我的編輯。 – 2012-03-28 14:49:24
工作.. thanx。 – DJPlayer 2012-03-28 14:52:34