Basically I'm trying to hide dropdownlist1 when dropdownlist2's selected value is "example".
Is this possible with jquery?
Yes its possible, just bind a function to the change event and look at the value.
$('#dp1').change(function(){
if(this.value === 'example'){
$('#dp2').hide();
}else{ // If you want it to show on other values
$('#dp2').show();
}
});
this.val. good call.