title: JQuery - get the actual line number within js file
body: <p>I use the code below to handle ajax call erros. I would like to add the line number of that <code>'$('body').append(...'</code> line to be abble to echo it out. By line number, I mean the line number within my .js file. Wondering if that is possible to get the actual line number? Thank you in advance for your replies. Cheers. Marc</p>
  
  <pre><code>$.ajax({
      type: "POST",
      url: "myfile.php",
      error: function(jqXHR, textStatus, errorThrown) {
  
          $('body').append('aj.ERROR! [' + jqXHR.status + ' : ' + errorThrown + ']');
      },
      success: function(data) {
          // somecode
      }
  });​
  </code></pre>