wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes Insert Tables(Urgent) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Insert Tables(Urgent)" Watch "Insert Tables(Urgent)" New topic
Author

Insert Tables(Urgent)

Angela Jessi
Ranch Hand

Joined: Nov 27, 2000
Posts: 428
Hi All,
I have following code in which if I click the button, I want to insert the rows or columns in Table. How this is possible:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 1</title>
</head>
<SCRIPT LANGUAGE="JavaScript">
function updateValues(){
}
<body>
<table border="1" width="37%">
<tr>
<td width="21%"> </td>
<td width="79%"> </td>
</tr>
<tr>
<td width="21%"> </td>
<td width="79%"> </td>
</tr>
<tr>
<td width="21%"> </td>
<td width="79%"> </td>
</tr>
<tr>
<td width="21%"> </td>
<td width="79%"> </td>
</tr>
<tr>
<td width="21%"> </td>
<td width="79%"> </td>
</tr>
</table>
<p><input type="button" value="Button" name="B3" onClick="updateTable()"></p>
</body>
</html>
Thanks
Angela
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Insert Tables(Urgent)