Send array with ajax request to php
<p>Hi i have two questions in my mind.I created array like ["9", "ques_5", "19", "ques_4"] this.Now i want to send it from js to php but  i am not getting proper results.My js code is </p>

<pre><code>$(".button").click(function(e) {

      e.preventDefault();
    $.ajax({
        type:  'post', 
       cache:  false ,
        url:  'test/result.php',
        data:  {result :stuff},
        success: function(resp) {
          alert(resp);
        } 

      });                   
    });
});
</code></pre>

<p>In above code stuff is array which contains records.How can i send this array with above code and than in php i want to process this array like ques_5 is key and 9 become value for that key.If not clear inform me.thanks in advance</p>
