title: Is there a way to use "<%= someObject.ClientID %>" in an external javascript file?
body: <p>Is there a way to use "&lt;%= someObject.ClientID %>" in an external javascript file?</p>
  
  <p>If I use the code </p>
  
  <pre><code>&lt;%= someObject.ClientID %&gt;
  </code></pre>
  
  <p>in a script tag inside my as(c/p)x page, it works fine. On the rendered page, the ClientID is resolved.
  Howvever, if I put in an external JS file and just add:</p>
  
  <p> </p>
  
  <p>It doesn't. Is there a way to do this or am I stuck with leaving that code in the as(c/p)x file?</p>
  
  <p>Side question -- what is the act of doing &lt;%=... %> in your markup file called?</p>