dseaver
IS-IT--Management
- Jul 13, 2006
- 467
I am first trying to create an input form when a button is clicked inside of the HTML page, here is what I have, I can change the html inside the to add a <hr> or <h2>test</h2> but I cannot add another button
What I am looking to do ultimately is to use the button to open a small form that will allow the user a table with a user defined amount of rows, fixed number of columns, so it would look like this after the "Add" button is click
Code:
<HTML>
<HEAD>
<SCRIPT type="text/vbscript" >
Sub NewDoc_onclick
NewDocSpan.InnerHTML = "<INPUT TYPE="BUTTON" NAME="NewDoc" VALUE="New Documentation">"
End Sub
</SCRIPT>
</HEAD>
<BODY>
<span id="NewDocSpan">
<INPUT TYPE="BUTTON" NAME="NewDoc" VALUE="Add New Documentation">
</span>
</center>
</BODY>
</HTML>
What I am looking to do ultimately is to use the button to open a small form that will allow the user a table with a user defined amount of rows, fixed number of columns, so it would look like this after the "Add" button is click
Code:
Title = [textbox]
foldername=[textbox]
Col1 col2 col3 col4 col5
[textbox] [textbox] [textbox] [textbox] [textbox] [button]add another[/button] //would add another row to the table
[button]add Table[/button] //would change the html by altering the document in the backgroun