Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
jQuery Within page causing page to lose responsiveness
#17
(2014-02-07, 07:30:15)n00dles101 Wrote: you've got this bit of code on your page that turning off all your buttons/links etc...


Code:
        <script>
  $(function() {
    $( "input[type=submit], a, button" )
      .button()
      .click(function( event ) {
        event.preventDefault();
      });
  });
  </script>

Ah-ha!

Wow I feel like an Idiot, I had that thrown into the sidebar from when I was testing something else. Didnt even think to look at it.

Yeah I need to clean the code up, its all over the place.
It is running really nice on the rpi, I have been logging temp data so I'll see how it fares when it has to render alot more info.

Thanks a million for the help, Much Appreciated!
- Dan
Reply


Messages In This Thread
RE: jQuery Within page causing page to lose responsiveness - by ragebflame - 2014-02-07, 08:28:02



Users browsing this thread: 4 Guest(s)