I need assistance with using LaTeX to include formulas in my project. Below is the code I am using:
EqEditor.embed('editor', '');
var a = new EqTextArea('equation', 'testbox');
EqEditor.add(a, false);
<link rel="stylesheet" type="text/css" href="http://latex.codecogs.com/css/equation-embed.css" />
<script type="text/javascript" src="http://latex.codecogs.com/js/eq_config.js"></script>
<div id="editor"></div>
<br />
<br />
<textarea id="testbox" rows="3" cols="40"></textarea>
<br />
<br />
<img id="equation" />
My issue now is that after creating a formula, when I click the submit button, I want the formula to be saved to a folder within my project under a specific name like "formula.png". Can someone please assist me with achieving this using either JavaScript or C#?