Jquery Keep Autosuggestion Box Show With Last Input
<p>I have an Jquery auto suggestion box, the function is ok. Now I want to when textbox not empty or last input by user, and when user click that textbox again, the suggestion box will appear.</p>

<p>Here is the JS :</p>

<pre><code>function suggest(inputString)
    {
        if(inputString.length == 0)
        {
            $('#suggestions').fadeOut();
        }
        else
        {
            $('#de_no').addClass('load');
            $.post("autosuggest.php", {queryString: ""+inputString+""}, function(data)
            {
                if(data.length &gt;0)
                {
                    $('#suggestions').fadeIn();
                    $('#suggestionsList').html(data);
                    $('#de_no').removeClass('load');
                }
            });
        }
    }
</code></pre>

<p>I have ever put this :</p>

<pre><code>else if(inputString.length != '')
        {
            $('#suggestions').fadeIn();
        }
</code></pre>

<p>But, its not work.
Anyone can give me a suggestions ?
Thanks</p>
