Skip to main content The Trailblazer Community will be unavailable from 2/1/2025 to 2/2/2025. Please plan your activities accordingly.
i have a page with drop down like below,

User-added image

if any one of the drop down value changes i need to higghlight the filter button to some red color.

dropdown change is based on action support function as below,

 

<label class="col-sm-2 control-label">{!$ObjectType.Supply_Level__c.Fields.MCT__c.Label}</label>

<apex:outputPanel id="mctList" styleclass="col-sm-2">

<apex:selectList value="{!selectedMCT}" size="1" styleClass="form-control input-medium">

<apex:selectOptions value="{!mctOptions}" />

<apex:actionSupport event="onchange"

action="{!getVarieties}"

rerender="varietyList"

onsubmit="showLoading();"

oncomplete="hideLoading(); return false;" />

</apex:selectList>

</apex:outputPanel>

how we can acheive this using javascript any hint helpful.

 
1 answer
0/9000