JQueryUi Button with Link
Hello World,
i would like to use a JQueryUI Button with an Icon as an Link-Button. On the web i didn't found a solution. I tried things like this, but especially this try destroys the look of the button. (Code was taken from example page). I know the possibility of using jquery and the onclick event to manipulate the document.location.href, but in my case i need a real link-element <a>.
- ....
- <script>
- $(function() {
- $( "button:first" ).button({
- icons: {
- primary: "ui-icon-locked"
- }
- });
- });
- </script>
- </head>
- <body>
- <a href="link.php"><button>Button with icon on the left</button></a>
- ....
Could you help me ?
Nightfighter