Conditional Formatting with Jquery

Conditional Formatting with Jquery

I have found this snippet of code that works great at changing the background of a table cell based on the cells contents

<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.js"></script>
<script type="text/javascript">
 
$(document).ready(function(){
    $("#LeadList td.LeadStatus:contains('Emailed')").css('background-color','#CCE6FF');
});
</script>

..It looks like its targeting the Div ID and then the table data's class to check if the table cell contains "Emailed" and if it does it changes the cells background color.

My question is.. How do I target other elements such as Form Input Fields & Form Drop down Menus using this method?