... |
... |
@@ -82,7
+82,7 @@ |
82 |
82 |
cache: false, |
83 |
83 |
async: false, |
84 |
84 |
success:function(html){ |
85 |
|
- console.log('Form loaded:',html.length, myFormContainer.length);//,html); |
|
85 |
+ console.log('Form loaded:',html.length);//,html); |
86 |
86 |
//myFormContainer.html(html); |
87 |
87 |
//if (!jQuery('#contentiframe').length) { |
88 |
88 |
// myFormContainer.html('<iframe id="contentiframe"></iframe>'); |
... |
... |
@@ -91,6
+91,8 @@ |
91 |
91 |
//iframedoc = iframe.contentDocument || iframe.contentWindow.document; |
92 |
92 |
//iframedoc.body.innerHTML = html.replace(/\$/g,'jQuery'); |
93 |
93 |
myFormContainer.html(html.replace(/\$/g,'jQuery')); |
|
94 |
+ |
|
95 |
+ myFormContainer.html('<iframe id="xm-form" src="'+fcBase+'/form/form/provide/'+formId+'?xfc-height-changed-evt=true" style="width:100%; height:1000px" scrolling="yes" frameborder="0" />'); |
94 |
94 |
}, |
95 |
95 |
crossDomain: true |
96 |
96 |
}); |