I want to load a vexflow tab after page load with AJAX. Is there a
function I can call to evaluate the content of the vexflow div tag
(<div id ="tab" class="vex-tabdiv"></div>) so it renders as guitar
tab? Right now, after I load the vexflow tab with AJAX I reload the
vextabdiv.js and vexflow.js scripts with the jQuery .getScript()
function and it works but it is pretty slow. Is there a specific
vexflow function I can call instead?
example code:
$('#tab').append(tab);
$.getScript("tabdiv/vexflow-free.js");
$.getScript("tabdiv/vextabdiv-free.js");
Full code here:
http://code.gregjopa.com/gregjopa/code/html5/audio/tabplayer/index.html
Thanks,
Greg