To Examples

HideTableCells Example

Source code file: HideTableCells/app/views/test/page1.html.erb:

<h1>HideTableCells Example</h1>

<table>
<% (0..1).each do |y| %>
<tr>
<% (0..2).each do |x| %>
<td><%= 3 * y + x %></td>
<% end %>
</tr>
<% end %> 
</table>

<p><%= button_tag "Hide Next", id: "hidenext" %></p>

<p><%= button_tag "Refresh Page", id: "refresh" %></p>