title: How to use 'data:' in jQuery AJAX function?
body: <p>I'm using this jQuery AJAX function and I'm trying to figure out how to use the 'data:' part of it. According to this page (http://api.jquery.com/jQuery.ajax/) I can use 'data:' to send the number 22 to 'process_stage.php' so I can use it. </p>
  
  <p>Can anyone tell me what I need to type in my process_stage.php page to access the number 22? </p>
  
  <pre><code>function myAJAX(){
  $.ajax({                                      
  url: 'process_stage.php',     
        data: '22',    
        dataType: 'json',                             
        success: function(data) {             
          var videoid = data[0];      
          var currentID = data[1];
          $('#youtube').html("&lt;iframe width='400' height='225' src='http://www.youtube.com/embed/"+videoid+"?rel=0&amp;amp;autohide=1&amp;amp;showinfo=0&amp;amp;autoplay=1' frameborder='0' allowfullscreen&gt;&lt;/iframe&gt;");
          setTimeout(function (){
              timedCount(currentID);
              },1000);
          }
  });
  }
  </code></pre>