Von Version < 2.70 >
bearbeitet von gru
am 07.05.2021, 16:54
Auf Version < 2.69 >
bearbeitet von gru
am 07.05.2021, 16:35
< >
Änderungskommentar: Es gibt keinen Kommentar für diese Version

Zusammenfassung

Details

Seiteneigenschaften
Inhalt
... ... @@ -83,13 +83,13 @@
83 83   success:function(html){
84 84   console.log('Form loaded:',html.length);//,html);
85 85   //myFormContainer.html(html);
86 - //if (!jQuery('#contentiframe').length) {
87 - // myFormContainer.html('<iframe id="contentiframe"></iframe>');
88 - //}
89 - //var iframe = document.getElementById('contentiframe'),
90 - //iframedoc = iframe.contentDocument || iframe.contentWindow.document;
91 - //iframedoc.body.innerHTML = html.replace(/\$/g,'jQuery');
92 - myFormContainer.html(html.replace(/\$/g,'jQuery'));
86 + if (!jQuery('#contentiframe').length) {
87 + myFormContainer.html('<iframe id="contentiframe"></iframe>');
88 + }
89 + var iframe = document.getElementById('contentiframe'),
90 + iframedoc = iframe.contentDocument || iframe.contentWindow.document;
91 + iframedoc.body.innerHTML = html.replace(/\$/g,'jQuery');
92 + //myFormContainer.html(html.replace(/\$/g,'jQuery'));
93 93   },
94 94   crossDomain: true
95 95   });
Copyright 2000-2025