2011-10-16 59 views

回答

9

forid屬性

<input id="thisinput" type="checkbox" /> 
<label for="thisinput">I agree</label> 

http://jsfiddle.net/PNYNR/

+0

大標籤!!!!!!!!!! – wong2

3

作爲替代到什麼@stevether建議,你也可以環繞複選框

<label><input type="checkbox" /> I agree</label> 

http://jsfiddle.net/WDerc/

相關問題