Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

selectlist and javascript in VF page

<apex:selectList styleclass="Lista" value ="{!type1}" size="1">
    <apex:selectOptions value="{!Types}"/>
</apex:selectList>

var e = document.getElementsByClassName("Lista")[0];
var strUser = e.options[e.selectedIndex].value;
Source by salesforce.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #selectlist #javascript #VF #page
ADD COMMENT
Topic
Name
9+8 =