Widget:LoadRemoteContent: Difference between revisions
Jump to navigation
Jump to search
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
Line 6: | Line 6: | ||
<script type="text/javascript" crossorigin="anonymous"> | <script type="text/javascript" crossorigin="anonymous"> | ||
$(document).ready(function () { | $(document).ready(function () { | ||
$("#<!--{$id}-->").load("<!--{$src}--> #<!--{$hash}-->"); | $("#<!--{$id}-->").load("<!--{$src}--> #<!--{$hash}-->", {mode:'cors'}); | ||
}); | }); | ||
</script> | </script> |
Revision as of 16:23, 10 May 2021
<script
src="https://code.jquery.com/jquery-3.6.0.slim.min.js" integrity="sha256-u7e5khyithlIdTpu22PHhENmPcRdFiHRjhAuHcs05RI=" crossorigin="anonymous"></script>
<script type="text/javascript" crossorigin="anonymous"> $(document).ready(function () { $("#").load(" #", {mode:'cors'}); }); </script>