按鈕位於不同的窗體中。當用戶點擊一個按鈕時,會看到一個新的字段。我可以使用CSS來做到這一點嗎?複選框驗證和浮動圖像
另外,我怎樣才能從form1
跳到form 2
?
這裏是我的代碼:
<form id="form1" action="#">
<input type="button" onclick="form2">
</form>
<form id="form2">
<input type="checkbox">
<input type="button">
</form>
另外,即使被滾動的窗口我怎麼能在網站上放置的圖像,並保持其位置?
想要在第一個按鈕被點擊後顯示第二個表單? – Garrett
你想實現什麼? –