<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Adding new row to the existing table &#8211; JavaScript</title>
	<atom:link href="http://michaelsync.net/2006/07/04/adding-new-row-to-the-existing-table-javascript/feed" rel="self" type="application/rss+xml" />
	<link>http://michaelsync.net/2006/07/04/adding-new-row-to-the-existing-table-javascript</link>
	<description>Sharing our knowledge</description>
	<lastBuildDate>Mon, 30 Apr 2012 09:19:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>	<item>
		<title>By: Ben</title>
		<link>http://michaelsync.net/2006/07/04/adding-new-row-to-the-existing-table-javascript/comment-page-1#comment-147933</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Tue, 03 Mar 2009 16:38:21 +0000</pubDate>
		<guid isPermaLink="false">http://michaelsync.net/2006/07/04/adding-new-row-to-the-existing-table-javascript#comment-147933</guid>
		<description>Thank you for posting this!</description>
		<content:encoded><![CDATA[<p>Thank you for posting this!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harshal Patel</title>
		<link>http://michaelsync.net/2006/07/04/adding-new-row-to-the-existing-table-javascript/comment-page-1#comment-140554</link>
		<dc:creator>Harshal Patel</dc:creator>
		<pubDate>Thu, 05 Feb 2009 17:49:18 +0000</pubDate>
		<guid isPermaLink="false">http://michaelsync.net/2006/07/04/adding-new-row-to-the-existing-table-javascript#comment-140554</guid>
		<description>Hello friend,

I tried this code. It is very useful but I have some doubt in my mind.

&quot;CAN WE INSERT SIMILAR ROW AS PREVIOUS ROW IN MY TABLE WITH SAME CONTENT e.g. TEXT FIELD OR LIST BOX etc.?&quot;

Please help me on that.Mail me the code My table type is like this.......




   ADD
  
  
    
      Activity
      Start Date
      End Date
      Status
    
    
      
        
      
      
        
        
        
            Calendar.setup({
              inputField    : &quot;cal-field-1&quot;,
              button        : &quot;button&quot;,
              align         : &quot;Tr&quot;
            });
          
      
      
        
        
        
            Calendar.setup({
              inputField    : &quot;cal-field-2&quot;,
              button        : &quot;button2&quot;,
              align         : &quot;Tr&quot;
            });
          
      
      
        
          Pending
          On Going
          Completed
        
       
      
    
    
  




My email id : harshal1900@gmail.com</description>
		<content:encoded><![CDATA[<p>Hello friend,</p>
<p>I tried this code. It is very useful but I have some doubt in my mind.</p>
<p>&#8220;CAN WE INSERT SIMILAR ROW AS PREVIOUS ROW IN MY TABLE WITH SAME CONTENT e.g. TEXT FIELD OR LIST BOX etc.?&#8221;</p>
<p>Please help me on that.Mail me the code My table type is like this&#8230;&#8230;.</p>
<p>   ADD</p>
<p>      Activity<br />
      Start Date<br />
      End Date<br />
      Status</p>
<p>            Calendar.setup({<br />
              inputField    : &#8220;cal-field-1&#8243;,<br />
              button        : &#8220;button&#8221;,<br />
              align         : &#8220;Tr&#8221;<br />
            });</p>
<p>            Calendar.setup({<br />
              inputField    : &#8220;cal-field-2&#8243;,<br />
              button        : &#8220;button2&#8243;,<br />
              align         : &#8220;Tr&#8221;<br />
            });</p>
<p>          Pending<br />
          On Going<br />
          Completed</p>
<p>My email id : <a href="mailto:harshal1900@gmail.com">harshal1900@gmail.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mighty_duck</title>
		<link>http://michaelsync.net/2006/07/04/adding-new-row-to-the-existing-table-javascript/comment-page-1#comment-113215</link>
		<dc:creator>mighty_duck</dc:creator>
		<pubDate>Wed, 08 Oct 2008 10:52:22 +0000</pubDate>
		<guid isPermaLink="false">http://michaelsync.net/2006/07/04/adding-new-row-to-the-existing-table-javascript#comment-113215</guid>
		<description>Im having one problem....I have page where i need to add new rows to existing table...I want to do that from another window.It looks like this:when i click on &quot;add new row&quot; on my main page(there is my table),new window open(javascript works that) with some field for input.When i click on submit button on that second window it should add new row on main window,without exiting from that second window.Problem is how to say your function for adding new rows that i want to use table from other document(main one) not from second one,because it works fine when i add new rows in same document,problem is when i need to do that from another window.I cant reach how to tell function &quot;adding new rows&quot; that im working on table from another window.Should I pass some arguments to functions or there is better solution in javascript?

By the way Im working in php,Im still not familiar with ASP ,I hope it wont be problem for solution...

thanks in advance

ps However this example helped me a lot,congratulations</description>
		<content:encoded><![CDATA[<p>Im having one problem&#8230;.I have page where i need to add new rows to existing table&#8230;I want to do that from another window.It looks like this:when i click on &#8220;add new row&#8221; on my main page(there is my table),new window open(javascript works that) with some field for input.When i click on submit button on that second window it should add new row on main window,without exiting from that second window.Problem is how to say your function for adding new rows that i want to use table from other document(main one) not from second one,because it works fine when i add new rows in same document,problem is when i need to do that from another window.I cant reach how to tell function &#8220;adding new rows&#8221; that im working on table from another window.Should I pass some arguments to functions or there is better solution in javascript?</p>
<p>By the way Im working in php,Im still not familiar with ASP ,I hope it wont be problem for solution&#8230;</p>
<p>thanks in advance</p>
<p>ps However this example helped me a lot,congratulations</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andrew</title>
		<link>http://michaelsync.net/2006/07/04/adding-new-row-to-the-existing-table-javascript/comment-page-1#comment-75473</link>
		<dc:creator>andrew</dc:creator>
		<pubDate>Thu, 26 Jun 2008 08:40:18 +0000</pubDate>
		<guid isPermaLink="false">http://michaelsync.net/2006/07/04/adding-new-row-to-the-existing-table-javascript#comment-75473</guid>
		<description>i will like to know how to add rows automatically using only option boxes</description>
		<content:encoded><![CDATA[<p>i will like to know how to add rows automatically using only option boxes</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Boogdan</title>
		<link>http://michaelsync.net/2006/07/04/adding-new-row-to-the-existing-table-javascript/comment-page-1#comment-47006</link>
		<dc:creator>Boogdan</dc:creator>
		<pubDate>Fri, 21 Mar 2008 20:09:08 +0000</pubDate>
		<guid isPermaLink="false">http://michaelsync.net/2006/07/04/adding-new-row-to-the-existing-table-javascript#comment-47006</guid>
		<description>From javascript there is no way to go to the database (only if you use Ajax, but I think you don&#039;t). I presume that in the table you have data from the DB and by selecting a checkbox you want to remove the specific row from DB. 
If this is what you want, my suggestion is to add in the checkbox control the attribute value chick will contain the ID from the specific row from the DB.
And when you will press the Remove button (I presume this is what you have) just check what checkbox is checked and get this value (ID from database) and submit the form. You can put this ID into a hidden field for easier use.
It would be easier to say exactly in what language is the server side because there you have to do the delete from database. 
Hope this helps. Good luck.</description>
		<content:encoded><![CDATA[<p>From javascript there is no way to go to the database (only if you use Ajax, but I think you don&#8217;t). I presume that in the table you have data from the DB and by selecting a checkbox you want to remove the specific row from DB.<br />
If this is what you want, my suggestion is to add in the checkbox control the attribute value chick will contain the ID from the specific row from the DB.<br />
And when you will press the Remove button (I presume this is what you have) just check what checkbox is checked and get this value (ID from database) and submit the form. You can put this ID into a hidden field for easier use.<br />
It would be easier to say exactly in what language is the server side because there you have to do the delete from database.<br />
Hope this helps. Good luck.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lmpcvs</title>
		<link>http://michaelsync.net/2006/07/04/adding-new-row-to-the-existing-table-javascript/comment-page-1#comment-39756</link>
		<dc:creator>lmpcvs</dc:creator>
		<pubDate>Fri, 15 Feb 2008 09:21:26 +0000</pubDate>
		<guid isPermaLink="false">http://michaelsync.net/2006/07/04/adding-new-row-to-the-existing-table-javascript#comment-39756</guid>
		<description>If any body have any idea on deleting a particular row from table which is selected by use of checkbox using javascript.(note it must delete the row from database also)

Thanx &amp; regaurds from,

lmpcvs</description>
		<content:encoded><![CDATA[<p>If any body have any idea on deleting a particular row from table which is selected by use of checkbox using javascript.(note it must delete the row from database also)</p>
<p>Thanx &amp; regaurds from,</p>
<p>lmpcvs</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lmpcvs</title>
		<link>http://michaelsync.net/2006/07/04/adding-new-row-to-the-existing-table-javascript/comment-page-1#comment-39754</link>
		<dc:creator>lmpcvs</dc:creator>
		<pubDate>Fri, 15 Feb 2008 09:20:34 +0000</pubDate>
		<guid isPermaLink="false">http://michaelsync.net/2006/07/04/adding-new-row-to-the-existing-table-javascript#comment-39754</guid>
		<description>do have any idea on deleting a particular row from table which is selected by use of checkbox using javascript.(note it must delete the row from database also)

Thanx &amp; regaurds from,

lmpcvs</description>
		<content:encoded><![CDATA[<p>do have any idea on deleting a particular row from table which is selected by use of checkbox using javascript.(note it must delete the row from database also)</p>
<p>Thanx &amp; regaurds from,</p>
<p>lmpcvs</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: m</title>
		<link>http://michaelsync.net/2006/07/04/adding-new-row-to-the-existing-table-javascript/comment-page-1#comment-351</link>
		<dc:creator>m</dc:creator>
		<pubDate>Tue, 21 Aug 2007 14:24:08 +0000</pubDate>
		<guid isPermaLink="false">http://michaelsync.net/2006/07/04/adding-new-row-to-the-existing-table-javascript#comment-351</guid>
		<description>Hi,
could u please tell me
I also create a dynamic table using  document. CREATEELEMNT

but now I want to post all the HTML TABLE VALUES  into mysql
I&#039;m using PHP .. could u pls help me how I&#039;ll update dynamic table values into real database??

Many thanks in advance..
Please I really need that

Thanks u very much.......
M.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
could u please tell me<br />
I also create a dynamic table using  document. CREATEELEMNT</p>
<p>but now I want to post all the HTML TABLE VALUES  into mysql<br />
I&#8217;m using PHP .. could u pls help me how I&#8217;ll update dynamic table values into real database??</p>
<p>Many thanks in advance..<br />
Please I really need that</p>
<p>Thanks u very much&#8230;&#8230;.<br />
M.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Sync</title>
		<link>http://michaelsync.net/2006/07/04/adding-new-row-to-the-existing-table-javascript/comment-page-1#comment-347</link>
		<dc:creator>Michael Sync</dc:creator>
		<pubDate>Wed, 15 Aug 2007 14:07:33 +0000</pubDate>
		<guid isPermaLink="false">http://michaelsync.net/2006/07/04/adding-new-row-to-the-existing-table-javascript#comment-347</guid>
		<description>Hi Sandeep,

Yeah. I&#039;m not sure what you are asking.... what problem are you facing?</description>
		<content:encoded><![CDATA[<p>Hi Sandeep,</p>
<p>Yeah. I&#8217;m not sure what you are asking&#8230;. what problem are you facing?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sandeep</title>
		<link>http://michaelsync.net/2006/07/04/adding-new-row-to-the-existing-table-javascript/comment-page-1#comment-349</link>
		<dc:creator>Sandeep</dc:creator>
		<pubDate>Tue, 14 Aug 2007 21:28:33 +0000</pubDate>
		<guid isPermaLink="false">http://michaelsync.net/2006/07/04/adding-new-row-to-the-existing-table-javascript#comment-349</guid>
		<description>It was a great code. But I have the following requirement to add members of a family into database using a form.
the table starts with
Family Name
Member1
 [Add another Member]

upon clicking the button b1 my table should like this

Family Name
Member1
Member2
 [Add another Member]

Everything that the table has in a form so that it can be sent to a jsp that adds these data into a database. And later this data needs to be displayed in display.jsp with exact number of members.

If you are not clear of my question please let me know.

Regards

Sandeep</description>
		<content:encoded><![CDATA[<p>It was a great code. But I have the following requirement to add members of a family into database using a form.<br />
the table starts with<br />
Family Name<br />
Member1<br />
 [Add another Member]</p>
<p>upon clicking the button b1 my table should like this</p>
<p>Family Name<br />
Member1<br />
Member2<br />
 [Add another Member]</p>
<p>Everything that the table has in a form so that it can be sent to a jsp that adds these data into a database. And later this data needs to be displayed in display.jsp with exact number of members.</p>
<p>If you are not clear of my question please let me know.</p>
<p>Regards</p>
<p>Sandeep</p>
]]></content:encoded>
	</item>
</channel>
</rss>

