misc-code-samples/easydependentpicklists.js
/** Used to initiate filtering based on field event. */
Used to initiate filtering based on field event.
Used to initiate filtering based on field event .
function filterOptions(executionContext){
	var callingControlName = executionContext.getEventSource().getName();
    if(callingControlName){
        applyFilters(callingControlName, executionContext);
    }
}
function filterOptions ( executionContext ) { var callingControlName = executionContext . getEventSource ( ) . getName ( ) ; if ( callingControlName ) { applyFilters ( callingControlName , executionContext ) ; } }
Used to initiate filtering based on field event.
Used to initiate filtering based on field event .
//get the name of the picklist that just changed