<div id="input"> <div class="number"> <label for="third">первое: </label> <input type="checkbox" id="third" value=true/> </div> <div id="button"> <a href="#" onclick="onButtonClick()">Кнопка</a> <br> </div> </div> |
1 answer
<input type="checkbox" id="third" value=true onclick="truee=this.checked"/> - it transmits only one value vseravno - recile
- @recile Are you talking to someone now)? And how many values do you need? What does "only one" mean? Does the question say a few meanings? - Igor
- changed, then did not write correctly yes when enabled true when false is disabled - recile
- it takes all the time from it true, whether it is turned or not - recile
|