Multiple $.post duplicating results in DropDowns
<p>If I use a single statement, then it works well. I mean if I use multiple $.post, as shown below, it fills both the DropDowns with the data of the second $.post. Why? The .php file contains code to dynamically fill DropDown.</p>

<pre><code>$.post("../Lib/filldropdown.php", 
  {DropDownControlName: "inMemberOf", SqlQuery: "SELECT * FROM electioncategorymaster" },
  function(data){
    $('#divMemberOf').html(data);
});

$.post("../Lib/filldropdown.php", 
  {DropDownControlName: "inWard", SqlQuery: "SELECT * FROM wardconstituencymaster"},
  function(data){
    $('#divWard').html(data);
});
</code></pre>

<p>Kindly ignore the Sql Injection issue above.</p>
