[英]How to styles checkbox, radio button, dropdownlist by javascript?
I want styles my checkbox, dropdownlist follow my style example: transparent background, change color border, change stick sign, change arrow dropdown... How can i style these controls by javascript?我想要 styles 我的复选框,下拉列表遵循我的样式示例:透明背景,更改颜色边框,更改棒标志,更改箭头下拉...我如何通过 javascript 设置这些控件的样式? please give me some advices, solutions or sources to solve it.
请给我一些建议,解决方案或资源来解决它。 thanks in advance.
提前致谢。
You can do this by applying external skins to your controls.您可以通过将外部皮肤应用到您的控件来做到这一点。
Skinnable Form Controls lets you do this. Skinnable Form Controls让您可以做到这一点。
Use CSS.使用 CSS。
http://reference.sitepoint.com/css http://reference.sitepoint.com/css
You can use jQuery to manipulate the CSS properties of DOM elements on the client side:您可以使用 jQuery 在客户端操作 DOM 元素的 CSS 属性:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.