Widget:LoadRemoteContent: Difference between revisions

From Rangjung Yeshe Wiki - Dharma Dictionary
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}-->", {mode:'cors'});
$("#<!--{$id}-->").load("<!--{$src}--> #<!--{$hash}-->");
});
});
</script>
</script>

Revision as of 16:24, 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(" #"); }); </script>