1 Replies - 1507 Views - Last Post: 04 September 2012 - 11:49 AM

#1 notice88   User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 92
  • Joined: 21-December 11

<button>, <input type ='submit'>, doesn't

Posted 04 September 2012 - 11:27 AM

Im having trouble with jquery button.. I downloaded the http://jqueryui.com/download with the theme smoothness. All seems to be working except the button because after I download and open the examples using chrome, inside index.html, the button element doesn't seem to change at all, the theme is not applied and its like a notrmal button, I tried

     <link type="text/css" href="css/smoothness/jquery-ui-1.8.23.custom.css" rel="stylesheet" />
     <script type="text/javascript" src="js/jquery-1.8.0.min.js"></script>
     <script type="text/javascript" src="js/jquery-ui-1.8.23.custom.min.js"></script>


<button id="login_checkbox" class="ui-button ui-button-text-only ui-widget ui-state-default ui-corner-all">
   <span class="ui-button-text">Button Label</span>

ive got the style work but when the button is clicked, it does not change at all like in the website

Is This A Good Question/Topic? 0
  • +

Replies To: <button>, <input type ='submit'>, doesn't

#2 Dormilich   User is offline

  • 痛覚残留
  • member icon

Reputation: 4202
  • View blog
  • Posts: 13,276
  • Joined: 08-June 10

Re: <button>, <input type ='submit'>, doesn't

Posted 04 September 2012 - 11:49 AM

thatís because you call the jQuery before the HTML button is created. put those script tags after the button.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1