Click here to Skip to main content
15,895,142 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
C#
<script>

    function myFunctionAdd(myTable)
    {
       var table = document.getElementById("myTable");
           var row = table.insertRow(0);
           var cell = row.insertCell();
           var text = document.getElementById(&#39;Attach1&#39;).InnerText;
           cell5.appendChild(text);
          addRow(&#39;myTable&#39;);
    }


    function myFunctionRemove(){
    var tab=document.getElementById(&quot;myTable&quot;);
    var ro=tab.deleteRow(0);
</script>
Posted
Updated 10-Feb-15 19:38pm
Comments
sandeshjkota 11-Feb-15 7:19am    
Your script is not complete and also I don't see any HTML content.

It will be better to have a complete example (HTML and Script) so that it will be easy to start with
Solai Raja 12-Feb-15 7:23am    
Your question is not clear, in you title its about Label but in code you have written about the table.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900