I have been experimenting with a jQuery plugin for drawing arrows, detailed in this article.
When using the plugin, this code is transformed:
<pre class="arrows-and-boxes"> (Src) > (Target) </pre>
into this format: Src --> Target
The issue I am facing is that if I call this code before the onload function, it works perfectly fine. However, when called after or within the onload function, the formatting is not applied.
$("#canvas").append("<pre class=\"arrows-and-boxes\"> (Src) > (Target) </pre>");
I have also posted the same question here.