I have javascript creating and loading an iframe. The problem is that the url – which contains a dynamic list of parameters used to structure the iframe’s content – is way too long to be included in the iframe src (with the GET method).
Is there anyway to load the contents of the iframe with POST or some other method which can handle the large parameter list?
I have tried using javascript to auto-submit a form targeted to the iframe src with the parameter list preloaded – however this method seems to refresh the page (which I would rather not have).
You could save this information as a temportary row in a table and simply refer to the id through a single $_GET.
If that seems too complex, simply have a
<form target="iframe_id"and have jQuery$.submit()that form. See previous answer regarding this.