if statement compare number with element

if statement compare number with element

Hi,

I'm trying to get an element from

  1. <td colspan="4" align="left" id="mkv"></td>
which receives its value via ajax, then comparing it with a number, unfortunately, I kept getting
in firebug?

What am I doing wrong?

Below is my code
  1. if (parseInt($(#mkv).html()) > 50000)
  2.             {
  3.                 $('#coverage').attr('disabled','true');
  4.                 $('#coverage option').attr('option',:first);
  5.                
  6.             }//end of if statement
  7.             else
  8.             {
  9.                 //adds a loading animation for coverage
  10.                 $("#coverage").html("<option>Loading...</option>");
  11.                 $('#coverage').attr('disabled','false');
  12.            
  13.                 //lists the coverage
  14.                 $.ajax
  15.                 ({
  16.                      type: "POST",
  17.                      url: "<?php echo base_url();?>index.php/welcome/coverage",
  18.                      data: "modelID=" + $('#model').val() + "&" + "mkv=" + $('#mkv').text(),
  19.                      success: function(msg)
  20.                      {
  21.                         $("#coverage")
  22.                             .html(msg);
  23.                     }     
  24.                 }); // end of the ajax
  25.             } //end of else statement

Thanks