I am trying to bold matched items between two list boxes in jquery. I have tried with the following code but it is giving me an error.

```
var $itemInBox1 = $("#box1View").find("option"),
        $itemInBox2 = $("#box2View").find("option");

        $itemInBox1.each(function () {
            var itemInBox1 = this.val();
            $itemInBox2.each(function() {
                var itemInBox2 = this.val();

                if (itemInBox1 == itemInBox2)
                {
                    $itemInBox1.css("font-weight","bold");
                }
            });
        });

```

sample jsfiddle: [jsfiddle](http://jsfiddle.net/s5fD5/)