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..
<display:column style="text-align: center;" title="Booth No"
property="partNo" />
here how can i call javascript function..
here is my code..
<div >
<display:table id="boothResultsTableId"
name="${boothResult.perWiseboothResults}"
defaultorder="ascending" defaultsort="4"
style="width:auto;margin-left:1px;border:1px solid #C4DEFF;">
<display:column style="text-align:center;" title="Polling % Range"
property="location" />
<display:column style="text-align:center;" title="Total No of Booths"
property="votesEarned">
<div class="coverAll"
onclick="alert('hi');">
</div>
</display:column>
<display:column style="text-align:center;" title="Party Votes %"
property="percentage" />
</display:table>
</div>