title: AJAX request in Auto-Timeout files
body: <p>I have written a code, which is auto-logout when user doesn't perform any activity.
  But one thing, I am not able to figure out.
  I want that when I select the options from the drop-down, it will be passed to AJAX,
  Can you please modify that so that I can send the data from options to AJAX. </p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
  &lt;head&gt;
  &lt;title&gt;&lt;/title&gt;
  &lt;style type="text/css"&gt;
  #idletimeout { background:#CC5100; border:3px solid #FF6500; color:#fff; font-family:arial, sans-serif; text-align:center; font-size:12px; padding:10px; position:relative; top:0px; left:0; right:0; z-index:100000; display:none; }
  #idletimeout a { color:#fff; font-weight:bold }
  #idletimeout span { font-weight:bold }
  &lt;/style&gt;
  
  &lt;/head&gt;
  &lt;body&gt;
  
  &lt;div id="idletimeout"&gt;
  You will be logged off in &lt;span&gt;&lt;!-- countdown place holder --&gt;&lt;/span&gt;&amp;nbsp;seconds due to inactivity.
  &lt;a id="idletimeout-resume" href="#"&gt;Click here to continue using this web page&lt;/a&gt; Please select reason for being idle.
  &lt;select id='idleReason' size="1"&gt;
  &lt;option value="nothing" selected="selected"&gt;Select a site&lt;/option&gt;
  &lt;option value="Option 1"&gt;Option 1&lt;/option&gt;
  &lt;option value="Option 2"&gt;Option 2&lt;/option&gt;
  &lt;option value="Option 3"&gt;Option 3&lt;/option&gt;
  &lt;option value="Option 4"&gt;Option 4&lt;/option&gt;
  &lt;/select&gt;
  
  &lt;/div&gt;
  
  Content Lorem Impsum
  
  &lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="jquery.idletimer.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="jquery.idletimeout.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script type="text/javascript"&gt;
  $.idleTimeout('#idletimeout', '#idletimeout a', {
          idleAfter: 3,
          pollingInterval: 2,
          keepAliveURL: 'keepalive.php',
          serverResponseEquals: 'OK',
          onTimeout: function(){
                  $(this).slideUp();
                  window.location = "timeout.htm";
          },
          onIdle: function(){
                  $(this).slideDown(); // show the warning bar
          },
          onCountdown: function( counter ){
                  $(this).find("span").html( counter ); // update the counter
          },
          onResume: function(){
                  $(this).slideUp(); // hide the warning bar
          }
  });
  //
  &lt;/script&gt;
  
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I would be grateful to you. </p>