title: jQuery: Submitting a link with $.ajax POST with two variables?
body: <p>I have the following three vars:</p>
  
  <pre><code>var action,
      pubMode,
      token;
  </code></pre>
  
  <p>All three values should be submitted via POST and with ajax. Since POST doesn't take an url I have absolutely no idea how to do so?</p>
  
  <pre><code>function ajaxPost(action, pubMode, token) {
  
      $.ajax({
          url: ??,
          dataType: "text json",
          type: "POST",
          success: function(jsonObject,status) {
  
              console.log("function() ajaxPost : " + status);
  
          }
      });
  }
  </code></pre>
  
  <p>Can you guys please help me out here! Thank you</p>