jQuery select list item entering problem
<pre><code>$().ready(function () {

    $('#remove').click(function () {

        return !$('#FeatureLists option:selected').remove();

    });

    $("#add").click(function () {

        var vals = $("#txtaddfeature").val();

        if (vals != '')


            $("#FeatureLists").prepend("&lt;option value=" + vals + " selected='selected'&gt;" + vals + "&lt;/option&gt;");

        $("#txtaddfeature").val() = ""

    });
});
</code></pre>

<p>The thing is that if I enter Add it will go into the option without any problem, but if I enter Manage People only Manage will go as there is a space gap between Manage and People . How will I solve this bug?</p>
