Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Select a option of a select element with JQuery

<script>
  	$(document).ready(function() {
  		$("#status option[value='value']").attr("selected", true);
	});
</script>
 
PREVIOUS NEXT
Tagged: #Select #option #select #element #JQuery
ADD COMMENT
Topic
Name
2+7 =