Answers for "get selected value jinto text box jquery"

2

get value of selected checkbox jquery

$('#checkbox_id:checked').val();
//if checkbox is selected than gets its value
Posted by: Guest on October-20-2020
0

get selected option text jquery

I think this should be $("#yourdropdownid").children("option").filter(":selected").text() since is() returns a boolean of whether the object matches the selector or not.
Posted by: Guest on January-11-2021

Code answers related to "get selected value jinto text box jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language