... |
... |
@@ -81,13
+81,9 @@ |
81 |
81 |
cache: false, |
82 |
82 |
async: false, |
83 |
83 |
success:function(html){ |
84 |
|
- console.log('Form loaded:');//,html); |
|
84 |
+ console.log('Form:',html); |
85 |
85 |
//myFormContainer.html(html); |
86 |
|
- myFormContainer.html('<iframe id="contentiframe"></iframe>'); |
87 |
|
- var iframe = document.getElementById('contentiframe'), |
88 |
|
- iframedoc = iframe.contentDocument || iframe.contentWindow.document; |
89 |
|
- iframedoc.body.innerHTML = html.replace(/\$/g,'jQuery'); |
90 |
|
- //myFormContainer.html(html.replace(/\$/g,'jQuery')); |
|
86 |
+ myFormContainer.html(html.replace(/\$/g,'jQuery')); |
91 |
91 |
}, |
92 |
92 |
crossDomain: true |
93 |
93 |
}); |