<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.twig.es/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.twig.es/index.php?action=history&amp;feed=atom&amp;title=The_sample_code_from_this_link</id>
		<title>The sample code from this link - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.twig.es/index.php?action=history&amp;feed=atom&amp;title=The_sample_code_from_this_link"/>
		<link rel="alternate" type="text/html" href="https://wiki.twig.es/index.php?title=The_sample_code_from_this_link&amp;action=history"/>
		<updated>2026-05-06T15:40:04Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.0</generator>

	<entry>
		<id>https://wiki.twig.es/index.php?title=The_sample_code_from_this_link&amp;diff=4341&amp;oldid=prev</id>
		<title>George2: Created page with &quot;&lt;source lang=&quot;php&quot;&gt; &lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;style&gt; table, td {   border: 1px solid black; } &lt;/style&gt; &lt;/head&gt; &lt;body&gt;  &lt;p&gt;Click the button to add a new row at the first p...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.twig.es/index.php?title=The_sample_code_from_this_link&amp;diff=4341&amp;oldid=prev"/>
				<updated>2019-03-27T16:19:21Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt; &amp;lt;!DOCTYPE html&amp;gt; &amp;lt;html&amp;gt; &amp;lt;head&amp;gt; &amp;lt;style&amp;gt; table, td {   border: 1px solid black; } &amp;lt;/style&amp;gt; &amp;lt;/head&amp;gt; &amp;lt;body&amp;gt;  &amp;lt;p&amp;gt;Click the button to add a new row at the first p...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!DOCTYPE html&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;style&amp;gt;&lt;br /&gt;
table, td {&lt;br /&gt;
  border: 1px solid black;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/style&amp;gt;&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;br /&gt;
&amp;lt;body&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;Click the button to add a new row at the first position of the table and then add cells and content.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table id=&amp;quot;myTable&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;Row1 cell1&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;Row1 cell2&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;Row2 cell1&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;Row2 cell2&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;Row3 cell1&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;Row3 cell2&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;button onclick=&amp;quot;myFunction()&amp;quot;&amp;gt;Try it&amp;lt;/button&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;script&amp;gt;&lt;br /&gt;
function myFunction() {&lt;br /&gt;
  var table = document.getElementById(&amp;quot;myTable&amp;quot;);&lt;br /&gt;
  var row = table.insertRow(0);&lt;br /&gt;
  var cell1 = row.insertCell(0);&lt;br /&gt;
  var cell2 = row.insertCell(1);&lt;br /&gt;
  cell1.innerHTML = &amp;quot;NEW CELL1&amp;quot;;&lt;br /&gt;
  cell2.innerHTML = &amp;quot;NEW CELL2&amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>George2</name></author>	</entry>

	</feed>