textbox creation using textbox input

textbox creation using textbox input

Hi guys.if i give semicolon as input means i have to create a textbox in jquey.I tried this code and it flows correctly but it didn't show me the result.pls help me out..
  1.  $(document).ready(function (){
  2.             $("#hellotxt").on('keyup', function (event){
  3.                 if (event.keyCode == 59)
  4.                 {
  5.                     var txt = $("#hellotxt").val();
  6.                     var valueArray = txt.split(';');
  7.                     var valueSortArray = valueArray.sort();
  8.                     for (var i = 0; i < valueSortArray.length - 1; i++) {
  9.                         alert("friends");
  10.                         addbox();
  11.                     }
  12.                 }
  13.             });
  14. });
addbox code is here
  1.  function addbox() {
  2.             var table = $(this).closest('table');
  3.             if (table.find('input:text').length >= 0) {
  4.                 table.append('<tr> <input type="text" id="current Name" value="" /></td> <td><input type="text" id="current Name" value="" /> </td></tr>');
  5.             }
  6.         }
My html code is
<asp:TextBox ID="hellotxt" runat="server" placeholder="hi;ji;ki;li;"></asp:TextBox>
       <table border="0" cellspacing="2">   
    <tr>
        <td align="right">datas</td>
        <td>
            <input type="button" id="add" value="Add" />
            <input type="button" id="del" value="Del" />
        </td>
    </tr>
    
</table>
please help me