I am struggling with an issue related to the scripts in the <head>
section of my website:
<script src="scripts/jquery-1.11.0.min.js" type="text/javascript"></script>
<script>
$('#submit').click(function() {
$('#submit').css('background-image', 'url("/static/ui/msback.png")');
});
</script>
Despite having a submit button with the id
of submit
, when I click on it, the background image does not change.
What could be causing this error?