Javascript Jquery Fadeout Woes -


my javascript isn't working. guess while i'm @ it, there programs can use can give me errors made able trouble shoot myself?

javascript...

   <script type="text/javascript" src="/js/jquery-ui.min.js">        $(document).ready(function() {           $(".button").click(function(){              $("#tickettable").fadeout( 'slow', function(){                });           });        });     </script> 

button used fadeout...

<button class="button">respond</button> 

html want fade out...

<div id="tickettable"> <table border="1" width="1000" class="transparent">             <tr><th width="15%">ticket</th><th width="15%">queue</th><th width="15%">severity</th><th width="15%">created</th><th width="15%">creator</th><th width="25%">subject</th></tr>         </table></div> 

your code seems fine way including .js file (and later initializing behaviour) seems incorrect.

try adding page's <head> tag, , change js <script> tag this:

 <head>      <script type="text/javascript" src="/js/jquery-ui.min.js"></script>      <!--other script , external css included on here-->       <script type="text/javascript">        $(document).ready(function() {           $(".button").click(function(){              $("#tickettable").fadeout( 'slow', function(){                });           });        });     </script> </head> 

demo: js fiddle


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -