My script is not working, I just want to make the script display the paragraph when the select is selected, see:
$(document).ready(function()
{
$("#btn1").click(function(){
$("p").hide();
});
$("#show").click(function(){
$("p").show();
});
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script><p>Thisisaparagraph.</p><buttonid="btn1">Hide</button>
<select name="categoria" id="categoria">
<option value="other">Other</option>
<option value="show" id="show">Show</option>
</select>