title: Phonegap and jQuery Mobile Event Fires Twice at a Time
body: <p>I have a problem with PhoneGap and jQuery Mobile that an event fires twice
  on a <code>bookdetailpage(bookdetailpage.html</code>) in my app.When i select the checkbox an event fires and do some update to a Web Service.(<code>updateBooksInMybooks()</code> in the code)</p>
  
  <p>I only want to select the checkbox and update must be done in background,Nothing more.if checkbox is checked then it should be remain as it is or if its not it should be unchecked (as normal case).</p>
  
  <p>But when i tap/check on the checkbox it seems working correctly but event fires twice at a time.</p>
  
  <ol>
  <li>First time (as it should) when you tap/check the checkbox.</li>
  <li>Second time it fire again when i click/tap anywhere on the screen.</li>
  </ol>
  
  <p>it's like it hangs and waits for a new click/tap on the screen,So it can fire again. </p>
  
  <p>Here is the code:</p>
  
  <pre><code>...
  &lt;div data-role="page" data-theme="c" id="detailpage"  data-url="detailpage.html"&gt;
  &lt;div data-role="header" id="hdrBokDetaljer" name="hdrBokDetaljer"  data-theme="c" &gt;
        ...
  &lt;/div&gt;
  &lt;div data-role="content" id="contentBokDetaljer" name="contentBokDetaljer" &gt;
          ...        
   &lt;div id="detailmybooks"&gt;
     &lt;fieldset id="mybooksGroup" data-role="controlgroup"&gt;                    
         &lt;input type="checkbox" name="checkInMybooks" id="checkInMybooks" class="custom" /&gt;
         &lt;label for="checkInMybooks"&gt;My books&lt;/label&gt;    
     &lt;/fieldset&gt;               
   &lt;/div&gt;            
  &lt;/div&gt;
  
  &lt;div data-role="footer" id="ftrBokDetaljer" name="ftrBokDetaljer" &gt;&lt;/div&gt;
  
  &lt;script type="text/javascript" charset="utf-8"&gt;
     $(document).delegate('#detailpage', 'pagecreate', function () {
  
        $('#checkInMybooks').attr("checked", detailCheckboxVar); 
  
     });
  
     $('#checkInMybooks').change(function () {
  
         //event.preventDefault();
         updateBooksInMybooks($('#detailbookid').html());
  
         return false;
     });
  &lt;/script&gt; 
  &lt;/div&gt;
  ...
  </code></pre>