I'm looking to be able to switch between icons in Javascript while using the new FontAwesome SVG framework.
Previously in the old WebFont method, this was achieved by toggling or changing the class on the tag, however as these are now rendered as SVG's in the source code this no longer works.
Is there a way to do this without needing to render both SVG icons in source code and using additional classes/CSS to toggle display?