JavaScript DHTML/jQuery/isFunction

Материал из Web эксперт
Перейти к: навигация, поиск

Is it a function

   <source lang="html4strict">
  

<html>

 <head>
   <script type="text/javascript" src="js/jquery-1.3.2.js"></script>
   <script type="text/javascript">
       $(document).ready(function(){
             
              function stub() {}
              alert($.isFunction(stub) );
       });
   </script>
 </head>
 <body>
   <body>

   </body>

</html>


 </source>