jasmine
08-14-2000, 12:20 PM
will u pls check this code??? what is wrong here?????
=================
<html>
<head>
<title>onClick</title>
<%
Sub newField
Response.write "<br><div align=center><select name=rrrr size=1>"&"<option>rrr</option><option>sss</option><option>sss</option>"&"</select>"
Response.write "<input type=text name=zeri size=10><br>"
Response.write "<input type=button onClick=newField2 name=tikla value=tikla>"&"<br></div>"
End Sub
Sub newField2
Response.write "<br><div align=center><select name=rrrr size=1>"&"<option>rrr</option><option>sss</option><option>sss</option>"&"</select>"
Response.write "<input type=text name=zeri size=10><br>"
Response.write "<input type=button onClick=newField name=tikla value=tikla>"&"<br></div>"
End Sub
%>
</head>
<body>
<div align="center">
<input type="button" onClick=<%newField%> name="tikla" value="tikla">
</div>
</body>
</html>
==================
i only want to crate a button. everytime clicking this buton new dropdown menu and textfield will add under the old one. i hope u can understand what i told???
[Edited by jasmine on 08-14-2000 at 06:33 AM]
=================
<html>
<head>
<title>onClick</title>
<%
Sub newField
Response.write "<br><div align=center><select name=rrrr size=1>"&"<option>rrr</option><option>sss</option><option>sss</option>"&"</select>"
Response.write "<input type=text name=zeri size=10><br>"
Response.write "<input type=button onClick=newField2 name=tikla value=tikla>"&"<br></div>"
End Sub
Sub newField2
Response.write "<br><div align=center><select name=rrrr size=1>"&"<option>rrr</option><option>sss</option><option>sss</option>"&"</select>"
Response.write "<input type=text name=zeri size=10><br>"
Response.write "<input type=button onClick=newField name=tikla value=tikla>"&"<br></div>"
End Sub
%>
</head>
<body>
<div align="center">
<input type="button" onClick=<%newField%> name="tikla" value="tikla">
</div>
</body>
</html>
==================
i only want to crate a button. everytime clicking this buton new dropdown menu and textfield will add under the old one. i hope u can understand what i told???
[Edited by jasmine on 08-14-2000 at 06:33 AM]