i have an issue doing toggleClass it doesn\'t seem to work properly. the image should change in between show and hide. It does change
toggleClass
show
hide
There is a toggle function that does it for you out of the box:
$(".show_menu").toggle();
toggle docs:
toggle
Description: Display or hide the matched elements.