title: How to access variables of Jquery in FTL?
body: <p>I am using <code>FTL</code> very first time. I want to access <code>ancor tag</code>from this code in jquery within <code>FTL</code> file and want to give style for table through <code>jQuery</code>. But can't get the exact syntax. Please help me anyone.</p>
  
  <p><strong>My FTL Code</strong> :-</p>
  
  <pre><code>&lt;#import "HeaderCommon.ftl" as c/&gt;
       &lt;@c.page title=" Manpreet Singh Title"&gt;
    &lt;div&gt;
      &lt;table border="1" align="center" style="width:50%"&gt;
         &lt;thead&gt;
              &lt;tr&gt;
                  &lt;th&gt;Sr.No&lt;/th&gt;
                  &lt;th&gt;Name&lt;/th&gt;
                  &lt;th&gt;Website&lt;/th&gt;
              &lt;/tr&gt;
         &lt;/thead&gt;
  
       &lt;tbody&gt; 
        &lt;#assign c=merchantstemp.getOffset()+1&gt;
       &lt;#list merchantstemp.results as m &gt;
              &lt;tr&gt;
                    &lt;td&gt;${m_index + c}&lt;/td&gt;
                    &lt;td&gt;${m.name}&lt;/td&gt;
                    &lt;td&gt;${m.website!""}&lt;/td&gt;
              &lt;/tr&gt;   
       &lt;/#list&gt;   
  
  
      &lt;/tbody&gt; 
      &lt;/table&gt;
      &lt;/br&gt;
      &lt;center&gt;
      &lt;#assign n=merchantstemp.pgNum&gt;
          &lt;#if (merchantstemp.prevPages() &gt; 0 &amp;&amp; itemsPerPageStr?has_content) &gt;
  
                  &lt;#if (n&gt;=2)&gt;    
                    &lt;#assign j= n-2&gt;  
                    &lt;a href="/mer?pgNum=${j}&amp;ipp=${itemsPerPageStr}"&gt;${j}&lt;/a&gt;
                     &lt;#assign i= n-1&gt;
                     &lt;a href="/mer?pgNum=${i}&amp;ipp=${itemsPerPageStr}"&gt;${i}&lt;/a&gt;
                       ${n}
                     &lt;#assign k= n+1&gt;
                     &lt;a href="/mer?pgNum=${k}&amp;ipp=${itemsPerPageStr}"&gt;${k}&lt;/a&gt;
                     &lt;#assign t= n+2&gt;
                       &lt;a href="/mer?pgNum=${t}&amp;ipp=${itemsPerPageStr}"&gt;${t}&lt;/a&gt;
                   &lt;/#if&gt;
          &lt;#else&gt;
  
              &lt;#if (n&gt;=2)&gt;  
               &lt;#assign j= n-2&gt;  
               &lt;a href="/mer?pgNum=${j}"&gt;${j}&lt;/a&gt;
               &lt;#assign i= n-1&gt;
               &lt;a href="/mer?pgNum=${i}"&gt;${i}&lt;/a&gt;
               ${n}
               &lt;#assign k= n+1&gt;
               &lt;a href="/mer?pgNum=${k}"&gt;${k}&lt;/a&gt;
               &lt;#assign t= n+2&gt;
               &lt;a href="/mer?pgNum=${t}"&gt;${t}&lt;/a&gt;
              &lt;/#if&gt;
         &lt;/#if&gt;
  
  
      &lt;#if (merchantstemp.prevPages() &gt; 0 &amp;&amp; itemsPerPageStr?has_content) &gt;
  
         &lt;a href="/mer?pgNum=${merchantstemp.pgNum -1}&amp;ipp=${itemsPerPageStr}"&gt; &amp;it;Pre;&lt;/a&gt;
  
         &lt;#else&gt;
         &lt;a href="/mer?pgNum=${merchantstemp.pgNum - 1}"&gt; &amp;it; Pre &lt;/a&gt;
      &lt;/#if&gt;
  
      &lt;#if (merchantstemp.nextPages() &gt; 0 &amp;&amp; itemsPerPageStr?has_content) &gt;
        &lt;a href="/mer?pgNum=${merchantstemp.pgNum + 1}&amp;ipp=${itemsPerPageStr}"&gt;Next &amp;gt;&lt;/a&gt;
  
      &lt;#else&gt;
      &lt;a href="/mer?pgNum=${merchantstemp.pgNum + 1}"&gt;Next &amp;gt;&lt;/a&gt;
     &lt;/#if&gt;
  
       &lt;/@c.page&gt;
       &lt;/center&gt;  
    &lt;/div&gt;   
  &lt;html&gt;
  &lt;head&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=EUC-KR"&gt;
  &lt;title&gt;Show All Merchants&lt;/title&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Thank you in advance..!!</p>