I want to create a <div> (display: none) then when I click on the button, the <div> should show itself.
But I get this error:
Parse error: syntax error, unexpected '(', expecting T_VARIABLE or '$'
when I use this code:
$('body').click(function () {
$('#editor_form').hide();
});
$('#buttonDiv').click(function (e) {
$('#editor_form').sho`enter code here`w();
e.stopPropagation();
});