The following successfully toggles the div landlord\_pop\_up. However, it doesn't set the css property for the div landlord\_pop\_up on toggle. Any ideas would be much appreciated. I am try to get the popupBox height to change from 20em to 42 em on toggle.

```
$(function () {
    $('#toggle1').click(function () {
        $('#landlord_pop_up').slideToggle(function () {
            $(".popupBox").css({
                "height": "42em"
            });
        }, function () {
            $(".popupBox").css({
                "height": "20em"
            });
        });
    });
});

```