Share » Forums » Setup & design » Passing HTML POST data to embedded...

Passing HTML POST data to embedded <iframe>s

Passing HTML POST data to embedded <iframe>s

Friday 10 August 2007 9:23:48 am - 1 reply

Author Message

Nicolas Lescure

Friday 10 August 2007 12:14:14 pm

Hi.

I really think you can't send post data to your iframe, only get parameters.

You will have to develop a little extension (module) which creates the post parameters returns the other web site page. You can do this with a javascript form or with AJAX (http://developer.yahoo.com/yui/examples/connection/post.html for example).

So, your iframe code should look like this:

<h1>{$node.title|wash}</h1> 
<iframes src="htt.p://www.mysite.com/makerediction/(url)/www.othersite.com/(param1)/value1/(param2)/value2" name="external_frame">

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu