我想製作一個按鈕,我可以在一段時間內用「true/false」來表示一個按鈕。我想做一個閃爍的按鈕。我怎麼能在Javascript中做到這一點?閃爍的HTML表單按鈕廣播Javascript true/false
我想是這樣的:
<td colspan="1" class="button" tabindex="1">
<input type="radio" tabindex="-1">
</td>
__
setTimeout(function() {
$("*[tabindex='1']").find('input').get(0).checked = true;
http://www.w3schools.com/html/tryit.asp?filename=tryhtml_form_radio (此按鈕)
哪裏是你的'setTimeout'功能 – TheValyreanGroup