Horje
selected select html jquery Code Example
jquery selected option
$( "#myselect option:selected" ).val();
option selected jquery
$('select option[value=8272]').attr('selected', '');
selected select html jquery
<select id="menu">
   <option value="1">Opción 1</option>
   <option value="2">Opción 2</option>
   <option value="3">Opción 3</option>
</select>
<script >
  $(function () {
     $("#menu option[value='2']").attr("selected", true);
  });
</script>




Html

Related
bootstrap alert Code Example bootstrap alert Code Example
bootstrap 4 success alert Code Example bootstrap 4 success alert Code Example
how to change text color using only html Code Example how to change text color using only html Code Example
html input time only hours and minutes Code Example html input time only hours and minutes Code Example
change text color in html butn Code Example change text color in html butn Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9