Hide/show text box using jQuery
<p>I am using jquery for the first time ,so please help me out here. I've searched a lot but haven't found the answer to my question. I want it so that the text box is visible if the score value is not blank and for it to be hidden when the score value is null. The score value is inserted in the input field. Thanks in advance.
This is my current code:</p>

<pre><code>&lt;script type="text/javascript"&gt;
            $(function() {
                $('#click').raty({
                    click: function(score) {
                        //alert(score);
                        }
                    });
                });
&lt;/script&gt;



    &lt;div class="inputs"&gt;
    &lt;div id="click"&gt;&lt;/div&gt;
&lt;input type="text" name="type" id="type" style="display:none;" value="" /&gt;
    &lt;/div&gt;
</code></pre>
