Bagaimana cara mendapatkan nilai teks dari opsi yang dipilih?
$( "#myselect option:selected" ).text();
Viruscom1000
$( "#myselect option:selected" ).text();
const getSelectedText = () => window.getSelection().toString();
const getSelectedText = () => window.getSelection().toString();
getSelectedText();