I have this javascript code
<Script>
function getGroupId(){
var group=document.getElementById("selectedOptions").value;
var groupFirstLetter=group.substring(2);
}
</Script>
I need to pass the groupFirstLetter
to a PHP function which will count how many users in this group and return the value to the javascript function.
Any ideas please?
Thanks,