.click(function()); does not work

.click(function()); does not work

Hi there :)

I have here the simpelest jQuery script:

<script type="text/javascript">
      
         $(document).ready(function(){
            
            $('#pageBttnNext').click(function(){
               $('#viewImages').empty();
            });
            
            return false
         });
         
      </script>


And here my html code:

<div class="images">
      
         <p>Selected parameters: depot / date / tour:<br /> <strong><?php echo $dep."&nbsp;|&nbsp;".$selec ?></strong></p>
         
         <ul>
            <li id="pageBttnPrevious"><a href="#" id="pageBttnPrevious">&laquo;&nbsp;Back</a></li>
            <li id="pageBttnNext"><a href="#" id="pageBttnNext">Next&nbsp;&raquo;</a></li>
         </ul>
      
      </div>
      
      <!-- VIEW IMAGES -->
      <div id="viewImages">
         
         <?php
         
            require_once("viewImages.php")
         
         ?>
         
      </div>


For some reason the click does nothing.