Then get the selected value in the javaScript method through the help of this Id. JS:
function fncInitiate(){
//get the selected value from all the rows here
var selectedValue = $("#SelectedComponent").find(":selected").text();
console.log(selectedValue);
}
If you find this solution is helpful for you please mark the best answer
Hi,
the below link might help you retrieving picklist values in Javascript:
http://www.oyecode.com/2013/06/how-to-javascript-to-get-multi-values.html
Thanks
Gopi
DBSync LLC
www.mydbsync.com
Hi JamalRida,
please find the solution
Define an Id on the tag on your visualforce page:
Then get the selected value in the javaScript method through the help of this Id.
JS:
If you find this solution is helpful for you please mark the best answer