Why is there a ReferenceError
:
Error message that says "manualEntry is not defined,"
appearing while trying to use the code snippet below in a Wordpress environment?
<a href="#" onclick="manualEntry()">hide</a>
<script>
jQuery(document).ready(function ($) {
function manualEntry() {
$("#details").hide();
}
});
</script>