title: this.id in jQuery won't fetch the element id if it is a number or contains numbers
body: <p>I have a bunch of automatically generated divs that have a number for their id. Whenever I use this.id to fetch the id it outputs nothing. However when the Id is text only it outputs the id properly. How could I fix this? Anything Helps. Thanks</p>
  
  <p>Edit:</p>
  
  <pre><code>$(".draggable").draggable();
  $("*", document.body).click(function (e) {   
                  var offset = $(this).offset();
                  e.stopPropagation();
                  $("#result").text(this.tagName + "  ID:" + this.id + " Coord:" + offset.left + " " + offset.top);
                  $.post("http://localhost/framework/test.php", "id=" + this.id + "&amp;x=" + offset.left + "&amp;y=" + offset.top);
              });
  </code></pre>
  
  <p>This is the offending code. It will get the id of divs however, with the "draggable" class not applied.</p>
  
  <pre><code>   &lt;div id="container"&gt;
  
         &lt;div id="1" class="draggable" style="top:55px; left:55px; border: 2px solid black; display: inline-table; position: relative; background-color: grey; max-width: 500px;"&gt;
              &lt;div&gt;Im an Image Posted by:Teh_noob Posted on: 9/15/1991&lt;/div&gt;
  
              &lt;div&gt;&lt;img src="http://video.google.com/img/logo_video.gif?hl=en" /&gt;&lt;/div&gt;
         &lt;/div&gt;
  
         &lt;div id="2" class="draggable" style="top:57px; left:33px; border: 2px solid black; display: inline-table; position: relative; background-color: grey; max-width: 500px;"&gt;
              &lt;div&gt;Youtube test Posted by:teh nub Posted on: 9/11/01&lt;/div&gt;
              &lt;div&gt;&lt;object width="640" height="385"&gt;&lt;param name="movie" value="http://www.youtube.com/v/_AJ0SkbPxAk&amp;hl=en&amp;fs=1&amp;rel=0"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;embed id="flash" wmode="transparent" src="http://www.youtube.com/v/_AJ0SkbPxAk&amp;hl=en&amp;fs=1&amp;rel=0" type="application/x-shockwave-flash" allowfullscreen="true" width="640" height="385"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/div&gt;
         &lt;/div&gt;
  
         &lt;div id="3" class="draggable" style="top:33px; left:12px; border: 2px solid black; display: inline-table; position: relative; background-color: grey; max-width: 500px;"&gt;
              &lt;div&gt;Text box Posted by:teh noob Posted on: 8/23/09&lt;/div&gt;
  
              &lt;div&gt;TESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTEST&lt;/div&gt;
         &lt;/div&gt;
  
      &lt;/div&gt;
      &lt;p id="result"&gt;&lt;/p&gt;
  </code></pre>