adding more no of records using jquery
<p>I have a autocomplete textbox, in that textbox am getting employee names. If I click that particular employee name, that particular employee's details like photo,name,id,contact no these kind of details should be added as a box container(just same as the tags box in our stackoverflow), like this how many employee's name em clicking on, that much of records should be added below that textbox, how can I do this, and which tool I have to use for this, can anyone help me</p>

<pre><code>function searchEmployees() {

$("#txtEmployee").autocomplete({

    source: function (request, response) {
        $.ajax({
            type: "POST",
            url: "/DataService.asmx/SearchEmployees",
            contentType: "application/json; charset=utf-8",
            data: "{'searchTerm' : '" + $("#txtEmployee").val() + "'}",
            dataType: "json",
            success: function (data) {
                var s = jQuery.parseJSON(data.d);
                var i = 0;
                var css = "";

                if (s != null) {

                    response($.map(s, function (item) {
                        i++;
                        if (i == s.length) {
                            css = "autocompletetablenoborder";
                        }
                        else {
                            css = "autocompletetable";
                        }
                        return {

                            label: "&lt;table class='" + css + "'&gt;&lt;tr&gt;&lt;td rowspan='4' width='50px;'&gt;&lt;img src='" + item.Photo + "' Width='48' Height='48'  /&gt;&lt;/td&gt;&lt;td&gt;" + item.Name + " ( " + item.USN + " )&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;table cellpadding='0' cellspacing='0'&gt;&lt;tr&gt;&lt;td&gt;" + item.Email + "&lt;/td&gt;&lt;td&gt;&amp;nbsp;|&amp;nbsp;&lt;/td&gt;&lt;td&gt;" + item.Mobile + "&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;",
                            name: item.Name

                        }
                    }));
                }
                else {
                    return null;
                }

            },
            error: function (req, status, error) {
                alert("ERROR:" + error.toString() + " " + status + " " + req);

            }
        });
    },
    minLength: 1,

    select: function (event, ui) {
        $("#Employee").val(ui.item.name);
        return false;
    }
});
</code></pre>

<p>}
here as you can see am trying to add the employee name(actually I need to display employee image,contact no, id...but just for trial am trying to bind name only) in the div, after we select a particular employee from the autocomplete list, but its not working, can anyone find out the issue</p>
