title: How to use mathjax in placeholder of textbox in asp.net?
body: <p>I recently added <code>MathJax</code> to my webform, I'm able to do everything except figure out how to use <code>MathJax</code> as a placeholder inside a <code>TextBox</code>.</p>
  
  <p>example:</p>
  
  <pre><code>&lt;asp:TextBox ID="textbox1" placeholder="$x^2$"&gt;&lt;/asp:TextBox&gt;
  </code></pre>
  
  <p>My placeholder doesn't want to use <code>MathJax</code> even though everywhere else it's fine.
  Is there a specific way to do this when using <code>MathJax</code> inside the placeholder attribute? </p>
  
  <p>Here is my <code>MathJax</code> configuration:</p>
  
  <pre><code>&lt;head&gt;
  &lt;script type="text/x-mathjax-config"&gt;
  MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}});
  &lt;/script&gt;
  &lt;script type="text/javascript" async
  src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-MML-AM_CHTML"&gt;
  </code></pre>
  
  <p>
  </p>