Hi,
I am trying to add some "custom" javascript (jquery) to a django template.
From time to time i am receiving the following error message(s) ;
Splunk's jQuery.ajax extension requires jQuery and the jQuery.cookie plugin
Does anyone know how to solve this ?
FYI; i have added my code and it runs fine ... but still getting the message(s) below.
<script>
$(document).ajaxComplete(function() {
$('.navbar-inner').hide()
});
</script>
OK, so these messages seems to have been related to me trying to load external jquery in my django code.
I removed those and change my script to;
require(["splunkjs/ready!"], function(mvc) {
$(document).ready(function() {
$('.splunk-footer').remove()
$('.shared-footer').remove()
})
});
OK, so these messages seems to have been related to me trying to load external jquery in my django code.
I removed those and change my script to;
require(["splunkjs/ready!"], function(mvc) {
$(document).ready(function() {
$('.splunk-footer').remove()
$('.shared-footer').remove()
})
});
hmmm ... so i think that was due to me loading some external jquery libraries