tags:

views:

81

answers:

2

Is it possible to make an iframe use a POST rather than a GET request? I am not trying to post a form into the iframe but load the iframe depending on data generated on the server.

Unfortunately, I can't use Javascript in this case (because it is the company's policy that the checkout must be possible without JS).

+1  A: 

No. IFRAME SRC="/yourscript" always uses a GET.

(You could POST to the IFRAME, or you can GET a page inside the IFRAME that POSTs a form using JS; but you specifically said those aren't viable for you)

Piskvor
A: 

Can any one help me, how to POST to the IFRAME, or GET a page inside the IFRAME that POSTs a form using JS.

Anil
Since your entry is a question, you probably should post that as a question, not an answer. You'll get answers that way; but you probably won't get answers to an answer.
Piskvor