Is there a way to force a post without using submit button?
am 18.02.2007 16:19:26 von JimOIs there a way to force a post without using submit button?
Thanks,
Jim
Is there a way to force a post without using submit button?
Thanks,
Jim
"JimO" wrote:
> Is there a way to force a post without using submit button?
This is not really an ASP question, but rather an HTML one. ASP has no
buttons, as it runs on the server.
That said, *ANY* means of form submission will do, as long as your form
method is POST.
Likewise, you can post XMLHttpRequest submissions. But I doubt you are using
AJAX.
--
Dave Anderson
Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms.
It has nothing to with ASP is it is a client side problem, however if
u want to send the form data using POST without using the HTML form, u
can have a look at
http://groups.google.co.in/group/microsoft.public.inetserver .asp.general/browse_thread/thread/b295b0f822a74b2a/15df60f0d 5d3a612?lnk=st&q=vb6+post+data+to+asp&rnum=1&hl=en
and
How to Send HTTP Post data to a Web Server (VB6) in www.abstractvb.com
both these explain POST using VB 6.
[please quote at least part of the message you are responding to]
ravichoudhari wrote:
> It has nothing to with ASP is it is a client side problem, however
> if u want to send the form data using POST without using the HTML
> form...
It does not *necessarily* have anything to do with ASP. It is certainly
possible to use ASP to "force a post without using a submit button":
<%@ Language="JScript" %><%
var xmlhttp = new ActiveXObject("Msxml2.ServerXMLHTTP.4.0")
xmlhttp.open("POST", targetURL, false)
xmlhttp.send("name1=value1&name2=value2")
%>
--
Dave Anderson
Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms.