jquery.AutoComplete.js adaptive width
<p>If <code>row[0]</code> is too long, the width of the yellow part does not adapt.</p>

<p>How can I solve this?</p>

<p><img src="http://i.stack.imgur.com/fGzuh.jpg" alt="enter image description here"></p>

<pre><code>    $(document).ready(function () {
        var b = $("#&lt;%=TextBox1.ClientID %&gt;").val();
        $("#&lt;%=txtSearch.ClientID%&gt;").autocomplete('Search_CS.ashx?id=' + b,
        {
           max:10,
           formatItem: formatItem,
           //               width:300
           width: $("#p0").width() + $("#s0").width()
        }
        );

    });
    function formatItem(row) {
    return " &lt;p id=\"p0\"&gt;"+row[0] +" &lt;/p&gt;"+ " &lt;span id=\"s0\"&gt;about&amp;nbsp;13456Items&lt;/span&gt;";
}
</code></pre>

<p></p>

<p>tks in advance!</p>
