一个很简单的jQuery自定义单选按钮复选框样式特效
XML/HTML Code
- <form>
- <p>
- 单选框
- <lable>
- <i class='input_style radio_bg'><input type="radio" name="hot" value="1"></i>
- a1
- </lable>
- <lable>
- <i class='input_style radio_bg'><input type="radio" name="hot" value="2"></i>
- a2
- </lable>
- <lable>
- <i class='input_style radio_bg'><input type="radio" name="hot" value="3"></i>
- a3
- </lable>
- <lable>
- <i class='input_style radio_bg'><input type="radio" name="hot" value="4"></i>
- a4
- </lable>
- <lable>
- <i class='input_style radio_bg'><input type="radio" name="hot" value="5"></i>
- a5
- </lable>
- </p>
- <p>
- 复选框
- <lable>
- <i class='input_style checkbox_bg'><input type="checkbox" name="q" value="11"></i>
- b1
- </lable>
- <lable>
- <i class='input_style checkbox_bg'><input type="checkbox" name="w" value="22"></i>
- b2
- </lable>
- <lable>
- <i class='input_style checkbox_bg'><input type="checkbox" name="e" value="33"></i>
- b3
- </lable>
- <lable>
- <i class='input_style checkbox_bg'><input type="checkbox" name="r" value="44"></i>
- b4
- </lable>
- </p>
- <input type="submit" value="提交">
- </form>
原文地址:http://www.freejs.net/article_biaodan_634.html