Widget:IncludeTibContentOnClick: Difference between revisions
Jump to navigation
Jump to search
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
Line 9: | Line 9: | ||
$("#tibContent").on('click', loadNewContent); | $("#tibContent").on('click', loadNewContent); | ||
</script> | </script> |
Revision as of 11:36, 3 August 2021
<script>
var loadNewContent = function { $.ajax("/tib #tibContentToLoad", { success: function(response) { $("#tibContent").html(response); } }); };
$("#tibContent").on('click', loadNewContent); </script>