title: Refer tag function from js?
body: <p>I have this code in my jsp</p>
  
  <pre><code>    &lt;script  type="text/javascript"&gt;
  
      function myJsFunction() {
         var queryString = new QueryString();
          queryString.add('initDate', document.getElementById('${id}').value);
      }
  </code></pre>
  
  <p>And it is working. I want <code>document.getElementById('${id}').value</code> to pass throught my tag lib and I add</p>
  
  <pre><code> &lt;%@ taglib prefix="my" uri="http://tags/my"%&gt;
  
  
      &lt;script  type="text/javascript"&gt;
  
      function myJsFunction() {
         var queryString = new QueryString();
          queryString.add('initDate', ${my:myTagFunc(document.getElementById('${id}').value)});
      }
  </code></pre>
  
  <p>But is slowing empty despite that <code>document.getElementById('${id}').value</code> returns a String. I can not understand why?</p>