title: How to display selected value in drop down list using jquery
body: <p>I want to display the selected name in the drop down list,
  this is my view code </p>
  
  <pre><code>&lt;tr data-view-key="&lt;?php echo $jmf_id; ?&gt;"&gt;
  &lt;td class="jnl_id"&gt;&lt;?php echo $jmf_jnl_id; ?&gt;&lt;/td&gt;
  &lt;td class="question"&gt;&lt;?php echo $jmf_question; ?&gt;&lt;/td&gt; 
  &lt;td class="question_type"&gt;
      &lt;?php 
      if($jmf_question_type == 'ss')
      {
      echo 'Single select (checkbox)';
      }
      else if($jmf_question_type == 'ms')
      {
      echo 'Multi select (checkbox)';
      }
      else if($jmf_question_type == 'mo')
      {
      echo 'Multi option (radio)';
      }
      else if($jmf_question_type == 'ft')
      {
      echo 'Free textarea';
      }
      ?&gt;
  &lt;/td&gt;
  &lt;td class="question_option"&gt;&lt;?php echo $jmf_question_options; ?&gt;&lt;/td&gt;
  &lt;td&gt;
      &lt;a href="#&lt;?php echo $jmf_id; ?&gt;" name="edit_meta" &gt;&lt;span class="glyphicon glyphicon-edit" title="Edit"&gt;&lt;/span&gt;&lt;/a&gt;&amp;nbsp;&amp;nbsp;
      &lt;a href="#&lt;?php echo $jmf_id; ?&gt;" name="delete_meta" &gt;&lt;span class="glyphicon glyphicon-trash" title="Delete"&gt;&lt;/span&gt;&lt;/a&gt;
  &lt;/td&gt;
  </code></pre>
  
  <p></p>
  
  <p>Jquery code is</p>
  
  <pre><code>$(document).on("click", "a[name = 'edit_meta']", function(event)
  {
      event.preventDefault();
          $("a[name='delete_meta']").confirmation("hide");
          var jmf_id = $(this).attr("href").substring(1);
          var parent = $(this).parents("[data-view-key='"+jmf_id+"']");
          var jnl_id = parent.find("td.jnl_id").text();
          var question = parent.find("td.question").text();
          var question_type = parent.find("td.question_type").text();//output eg: Multi select (checkbox)
          var question_option = parent.find("td.question_option").text();
          $("#hdn_mf_id").val(jmf_id);
          $("#question").val(question);
         --&gt; $("#question_type").val(question_type);//want to display the selected list item here(not value).
  
          $("#question_options").val(question_option);
  
  
  });
  </code></pre>
  
  <p>i want to display the listed item name in the drop down list,what function can use instead of <code>.val()</code></p>