Below is my code:
It is not working. I need to get the first value selected.
<script type="text/javascript" src="https://code.jquery.com/jquery-1.12.4.js"></script>
<script type="text/javascript">
$(function () {
//MultiLookup is filed title
var values = $('select[title="Lead Subject Area selected values"]').children('option').map(function (i, e) {
return e.value || e.innerText;
}).get();
alert(values);
})
</script>
thanks
faye fouladi