Basic question - button icon not working
Hello,
I seem to have a very basic issue: I try to add an icon to a button, but it is not added. The selector is correct, however, because I see the style of the (first) button has changed.
- <head>
- <meta http-equiv="content-type" content="text/html;charset=utf-8" />
- <link rel="stylesheet" type="text/css" href="css/style.css" media="screen" />
- <link rel="shortcut icon" href="favicon.ico" />
- <link href="css/smoothness/jquery-ui-1.10.1.custom.css" rel="stylesheet">
- <script src="js/jquery-1.9.1.js"></script>
- <script src="js/jquery-ui-1.10.1.custom.js"></script>
- <script type="text/javascript">
-
-
- $(document).ready(function(){
-
- $( "input[type=button]:first" ).button({ icons: { primary: "ui-icon-gear", secondary: "ui-icon-triangle-1-s" } });
It must be something simple, but I don't seem to see what it could be (I almost exactly copy pasted the code from the manual).
Thanks in advance,