On change not working in chrome

I have the following code which works fine in fire fox but in chrome it will hide the div but when i choose free it doesnt show it again, any ideas?

                                    <label for="ax_type"> Type</label>
                                    <select name="type" id="type">
                                        <option value="free">Free</option>
                                        <option value="premium">Premium</option>
                                    <script type="text/javascript">
                                        jQuery(function($) {
                                                if ( $(this).val() == "free" ) {
                                                } else {

ax_type refers to the label element, whereas it is the select element that you need to use instead.

I knew I was missing something simple. Thanks