title: Calling a javascript function in displaytag
body: <p>How to call a javascript function in struts displaytag, i want to pass id into that javascript function.Iam not getting any idea any one help me..</p>
  
  <pre><code>&lt;display:column style="text-align: center;" title="Booth No"
          property="partNo" /&gt;
  </code></pre>
  
  <p>here how can i call javascript function..</p>
  
  <p>here is my code..</p>
  
  <pre><code>&lt;div &gt;
              &lt;display:table id="boothResultsTableId"
                   name="${boothResult.perWiseboothResults}"
                  defaultorder="ascending" defaultsort="4"
                  style="width:auto;margin-left:1px;border:1px solid #C4DEFF;"&gt;
  
              &lt;display:column style="text-align:center;" title="Polling % Range"
                      property="location" /&gt;
              &lt;display:column style="text-align:center;" title="Total No of Booths"
                      property="votesEarned"&gt;
                      &lt;div class="coverAll" 
                          onclick="alert('hi');"&gt;
                      &lt;/div&gt;
              &lt;/display:column&gt;
              &lt;display:column style="text-align:center;" title="Party Votes %"
                      property="percentage" /&gt;
              &lt;/display:table&gt;
              &lt;/div&gt;
  </code></pre>