I want to create an iframe with other page visible inside. The page is outside my domain. Normally I do it like that:
$('<iframe />').attr('src','www.thepage.com?data=1').appendTo('body')
But if www.thepage.com
is accessible via POST instead of GET, how should I load it? $.ajax( type:'POST',...)
fails due to Origin null is not allowed by Access-Control-Allow-Origin.