title: Bind attr values DropDown by JQuery?
body: <p>Iam trying to bind attr values to dropdown as i need more than 2 values to get bind to dropdown.</p>
  
  <pre><code>    success: function (JSONData) {
              var Ports = $.parseJSON(JSONData.d);
              $(".ddlFrom").empty();                
              $(".ddlFrom").append("&lt;option  value=''&gt;   &lt;/option&gt;");
  
              $.each(Ports, function (index, value) {
              $(".ddlFrom").append("&lt;option value='" + value.ID + "'&gt;" + value.Name + "&lt;/option&gt;")
                                  .attr("Sequence", value.Sequence);
  
              });
  </code></pre>
  
  <p>But here iam having list of Data coming to Dropdown and iam getting last sequence when i select any item in the dropdown., i want respective sequnce of selected value of dropdown</p>
  
  <p>Any help</p>