|
|
|
|
|
| | |
|
Active Server Pages ASP a directory of ASP tutorials applications scripts components and articles for the novice to professional developer. CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Re: enforced POST |
From: |
David Beal |
Date: |
8/13/2001 4:45:57 PM |
IP: |
64.162.117.152 |
You can use <INPUT TYPE="IMG" SRC="this.gif">, but I've found that unreliable. Instead I use hyperlinks and JavaScript.
===========================================
<HTML>
<SCRIPT LANGUAGE="javascript">
function fnSubmit(PageName) {
document.ThisForm.Action = PageName;
document.ThisForm.submit();
}
</SCRIPT>
<BODY>
<form name="ThisForm" Action="">
<INPUT Name="Name" TYPE="Text">
<A href="javascript:void(0)"
onclick="fnSubmit('Page1.asp')">
<IMG SRC="Some.gif" Border=0></a>
</FORM>
</BODY>
</HTML>
|
Previous Message
|
|
|
|
|
|
|
|
|
|
|
|