Widget:IncludeTibContentOnClick: Difference between revisions
Jump to navigation
Jump to search
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
Line 1: | Line 1: | ||
<div id="tibContent"></div><script> | <div id="tibContent"></div><script> | ||
mw.config.get( 'jquery' ); | |||
$('#ooui-php-5 .oo-ui-labelElement-label').click(function() { | $('#ooui-php-5 .oo-ui-labelElement-label').click(function() { | ||
$("#tibContent").load("<!--{$page|escape:'url'}-->/tib #tibContentToLoad"); | $("#tibContent").load("<!--{$page|escape:'url'}-->/tib #tibContentToLoad"); | ||
}); | }); | ||
</script> | </script> |
Revision as of 11:32, 3 August 2021
<script>
mw.config.get( 'jquery' );
$('#ooui-php-5 .oo-ui-labelElement-label').click(function() { $("#tibContent").load("/tib #tibContentToLoad"); });
</script>