javascript - Add data in the duplicate row in table using jquery -


Say that my table already has a data dateline and I enter the second data with that date. How can I add my other input date in a duplicated line I am using this jquery I am also adding the table row by using dynamic jquery

Example: I have this table

  & lt; Tr & gt; & Lt; TD & gt; 2014-10-18 & lt; / TD & gt; & Lt; TD & gt; 1 & lt; / TD & gt; & Lt; / TR & gt;  

Then I have a modal form with its date picker and text box. I say that I raise the same data "2014-10-18" and add a new value 2. What do I want to do when I add this record, I want my table row with the same date "2014-10-18", adding value 2 to data 2

the output will be like this < / P>

  & lt; TR & gt; & Lt; TD & gt; 2014-10-18 & lt; / TD & gt; & Lt; TD & gt; 3 & lt; / TD & gt; & Lt; / TR & gt;  


Comments

Popular posts from this blog

c# - SignalR: "Protocol error: Unknown transport." when navigating to hub -

c# - WPF Expander overlay used in ItemsControl -

class - Kivy: how to instantiate a dynamic classes in python -