I need to manually select a dropdown option if a value is matched. Here is the code:

```
if($("#hiddenMyField").val() != "") {
            $("#dropdown").each(function(i){
                 $('option', this).each(function() {
                     if($(this).html() == $("#hiddenMyField").val()) {
                         // code to select the option
                     } else {
                         alert('not matched');
                     }

                 });

            });
        }

```

How can I select the current option located in the drop down if that if condition is met?

Thanks