faqts : Computers : Programming : Languages : Asp : ASP/VBScript

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

31 of 44 people (70%) answered Yes
Recently 5 of 10 people (50%) answered Yes

Entry

how to add Update - Delete - Add New buttons all to the same form in an asp application.

Feb 18th, 2002 10:10
Saravpreet Minhas,


<input type="button" value="Add" onClick="add()">
<input type="button" value="Update" onClick="update()">
<script>
function add()
{
document.frm.action = "add.asp"
document.frm.submit()
}
function update()
{
document.frm.action = "update.asp"
document.frm.submit()
}
</script>



© 1999-2004 Synop Pty Ltd