I am trying to hide a button with some simple jquery. I tried to put the jquery.js file in the same folder as the html page but this generates a 404 error as it is looking for the jquery.js file on the server as opposed to my local machine.
I thought I would use the CDN but again this does not work and in the console I do not see any requests to the CDN like when I have it specified as a local file.
Can someone point me in the right direction with this?
<html>
<body>
<script src="jquery.js"></script>
<script>
$("#vlan_text").hide();
</script>
<div class="content-section">
<!-- ## form method must be POST for button click action-->
<form method="POST" action="">
<div class="input-group mb-3">
<div class="input-group-prepend" id="test">
<span class="input-group-text">Gi1/0/</span>
</div>
<input type="text" class="form-control" id="port_in" name="port_input" aria-label="Port Number">
</div>
<input class="btn btn-info" type="submit" id="run_int" name="sh_run_int" value="Show interface configuration">
<div class="well">
<!-- ## the <pre> tags specify preformatted text-->
<pre> {{ show_run_int }} </pre>
</div>
<div class="input-group mb-3" id="vlan_div">
<input type="text" class="form-control" id="vlan_text" name="vlan_input" aria-label="VLAN">
</div>
</div>
</form>
<body>
</html>