Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Please HELP!!!!

Status
Not open for further replies.

shomai

Programmer
Jun 18, 2001
15
0
0
PH
Im creating an ASP page where in i have a table and below it is a form. When you fill up the form and you click "Add" you insert the information to the table on top of it. You can add many entries to the table. And after that the final step is to submit all the entries in the table to the database. so how can i contain all the data in the page? please help!!!!

thanks
 
how can i do this??? thanks anyway.
 
Here's some syntax that can get you started
in the table
<input type=hidden name=name>
in the form &quot;which has to be started (form name=form1) before the table code

<input type=text name=Name>
<input type onClick=&quot;sendToForm()&quot;>

the script will be something in this manner
name = form.Name.value
form.name.value = name

make any sense? I may not get it the 1st or 2nd time,
but how sweet that 15th time can be.
 
this is what i did but it aint working

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot;>
<script language='JavaScript'>

function sendToForm()
{
name = form1.txt2.value
form1.txt1.value = name
}
</script>
</head>

<body bgcolor=&quot;#FFFFFF&quot; text=&quot;#000000&quot;>

<form name='form1' >
<input type='text' name='txt2'>
<input type='button' onClick='sendToForm();' name='Add'>
<input type='hidden' name='txt1'>
</form>
</body>
</html>
 
I was thinking you were in Vbscript land but besides taht there is alittle more to it then jsut the Syntax or operation guide I gave you.

check this out. it shows you how to do what you are attemping
I may not get it the 1st or 2nd time,
but how sweet that 15th time can be.
 
I was thinking you were in Vbscript land but besides taht there is alittle more to it then jsut the Syntax or operation guide I gave you.

check this out. it shows you how to do what you are attemping

I may not get it the 1st or 2nd time,
but how sweet that 15th time can be.
 
I suggest you use Dictionary. Dictionary with little bit of String trick with do the job. Check out dictionary refference at VBScript help file. ------------------
Freedom is a Right
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top