473,396 Members | 1,972 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

HTTP post inside JavaScript

Hi all,

Is it possble to do a HTTP post request inside JavaScript? - That is I don't
want to use a HTML FORM,
but need a JavaScript to post a value to a PHP script not encoding the
parameters in a URL.

Regards,

Frederik
Jul 20 '05 #1
1 17820


Frederik S wrote:
Is it possble to do a HTTP post request inside JavaScript? - That is I don't
want to use a HTML FORM,
but need a JavaScript to post a value to a PHP script not encoding the
parameters in a URL.


It depends on the host environment JavaScript is used in. Inside a
browser IE5+/Win and Netscape 6+ provides objects to perform HTTP
requests, see
http://www.faqts.com/knowledge_base/.../17226/fid/616

--

Martin Honnen
http://JavaScript.FAQTs.com/

Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Dodo | last post by:
Is it possible to create a link that can post a value to an ASP page without java?
3
by: reneeccwest | last post by:
How can I simulate HTTP post request by JavaScript? When I select from <SELECT> combo box. onClick will call JavaScript function. I want this function to send HTTP POST request with the selected...
3
by: jason | last post by:
I've got this javascript routine (i found on google - thank you) in an asp.net page that on page reload sets the cursor of a textbox to the last line. It works great! Using a similar concept, I...
1
by: Gerard Cany | last post by:
I have a problem with a javascript that seems related to the number/size of parameters sent by the form The method for the form is POST (not GET, I know the size limit with GET) The symptom :...
5
by: gregg | last post by:
I have the folowing code implimented. when the post button is pressed it places the info in the existing window. How can I make it open a new window for the new data? htp.p('<TD><A...
4
by: Marcia Gulesian | last post by:
Is there a way to replace the URL value below, on the fly? <META HTTP-EQUIV="Refresh" CONTENT="3;URL=http://www.some.org/some.html">
1
by: Richard | last post by:
I've read the posts here and VeriSign's KB articles, which pertain to the seal not displaying in development mode. However, the seal still won't show up on the .aspx production page, but it does...
3
by: Yourself | last post by:
Hi, I'm trying to post data to PayPal for a shopping cart, basically I want to replicate a form like the following, but create the variables dynamically from code behind: <form...
2
by: Offm | last post by:
I have a script that is calling a file trough a function. What i wish to do is the person selected a file to open inside that function dinamically is it that possible without using a window.prompt...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.