I have a question. If you use the scripts below(window.location.href = "http://mike/GetValues.fwx?Code="+mCODE ) , you said that it will use GET and not POST. My question is, how can you make it a POST using that method below? Thanks!
Sent by FoxWeb Support on 01/22/2003 01:13:06 AM:
Actually this would use GET -- POST (which is fine for this purpose).
Sent by Michael Pena on 01/21/2003 05:54:15 PM:
Sent by FoxWeb Support on 01/21/2003 10:17:19 AM:
The second example, which illustrates how you can send POST data with a link does not display a form at all. The form only contains hidden fields, so it's invisible. If you need to have a large number of links and their data will be known from the start, then using GET makes more sense.
The example was only provided to answer your question about sending POST data without a submit button.
Sent by Michael Pena on 01/20/2003 05:55:22 PM:
Thanks for this info, my second question is that:
What if you don't have a Form? nor an input box? Can you still submit just using the values from variables? From the samples below you have used an input box. Thanks again!
Sent by FoxWeb Support on 01/20/2003 04:36:43 PM:
The GET method uses the query string portion of the URL:
The above URL is what will be sent anyway if you create a form which uses the GET method and contains two fields, first and last:
In the above example, note how the desired values are set in hidden form fields. The link simply causes the browser to submit the form.
Sent by Michael Pena on 01/20/2003 02:05:36 AM:
Is it possible to submit data using GET or POST without using the Form or Submit button. Or is it possible to use a Text Link to Submit data?