I'm using Todd Moto's flaunt.js for navigation and want to toggle the hamburger image with another image, and back again, when the mobile-menu is revealed and closed.
The demo is here:
https://toddmotto.com/labs/flaunt-js
The tutorial is here:
https://toddmotto.com/flaunt-js-for-stylish-responsive-navigations-with-nested-click-to-reveal
Yes, there are plenty of ways to change the CSS background image. You can set it directly.
Example:
HTML:
<div id='my-box'></div>CSS:JS:
Fiddle: https://jsfiddle.net/jmz20uhy/