JQUERY, CSS, event handlers
<p>I am supposed to use Jquery to call a function that changes a div's visibility using css. This is my JQUERY</p>

<pre><code>    alert("Interactive on line");
    function changeView(page)
        {
              alert("Handler for click() called. ");
              if(page === 'home)
                 {
                    $('#HomeTab'.css(display=='none'));
                 }
        }
    $('#HomeTab').on('click', { page:'home'}, changeView());
</code></pre>

<p>I used the alert statement inside the changeView to see if changeView ever gets called and it does not. The initial alert before the changeView function does get called, so the script is linked correctly. 
Thank you in advance!</p>