469,913 Members | 1,983 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,913 developers. It's quick & easy.

Is there a way to force a post without using submit button?

Is there a way to force a post without using submit button?
Thanks,
Jim
Feb 18 '07 #1
3 6174
"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.

Feb 18 '07 #2
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/mic...p&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.

Feb 20 '07 #3
[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.
Feb 20 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by sentinel | last post: by
4 posts views Thread by Dodo | last post: by
5 posts views Thread by Thejo | last post: by
4 posts views Thread by Tom | last post: by
7 posts views Thread by Matt | last post: by
reply views Thread by comp.lang.php | last post: by
1 post views Thread by Waqarahmed | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.