Answers for "val('selected')"

1

jquery selected option

$( "#myselect option:selected" ).val();
Posted by: Guest on July-13-2020
2

jquery this value

$( "input" )
    var value = $( this ).val();
Posted by: Guest on December-04-2020

Browse Popular Code Answers by Language