Why firebug did not find the error of these codes?

Why firebug did not find the error of these codes?

hi guys

Just wondering why firebug missed the error,

  1. $(function() {
  2. $('#submit').click(function() {
  3. $('#container').append('<img src="img/loading.gif" alt="Currently Loading" id="loading" />');
  4. var select = $('#select').val());
  5. var title = $('#title').val();
  6. var description = $('#description').val();
  7.              $.ajax({
  8.               url: 'submit_to_db.php',
  9.       type: 'POST',
  10.       data: 'select=' + select + '&title=' + title + '&description=' + description,
  11.       success: function(result) {
  12. $('#response').remove();
  13. $('#container').append('<p id="response">' + result + '</p>');
  14. $('#loading').fadeOut(500, function() {
  15. $(this).remove();
  16.       });
  17. }
  18. });
  19. return false;
  20. });
  21. });


As you can see, I intentionally put extra closing parenthesis on the line 6th just too test if firebug can catch it.
Unfortunately It did not at my end.

Any idea?

Thanks in advanced.