Home  >  Article  >  Web Front-end  >  In-depth analysis of jQuery button component_jquery

In-depth analysis of jQuery button component_jquery

WBOY
WBOYOriginal
2016-05-16 17:31:56935browse
按钮组件:
     $(selector).button([options]);
复制代码 代码如下:





ButtonIcon





<script><br>$(document).ready(function(){<br> $("input,button").button({<br>  icons: {<br>            primary: "ui-icon-locked"<br>    // secondary: "ui-icon-triangle-1-s"<br>        }<br> });<br> $("a,div").button({<br>  icons: {<br>            secondary: "ui-icon-triangle-1-s"<br>        }<br> });<br>});<br></script>








Anchor
DIV




效果图:  

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn