I wonder is there a way to call my jquery function from my html code.
here's my code :
html side :
<td style="text-align:left;" align="left" >
<div id="bulletin-timestamp" >
doTimeStamp(${bulletinTimeStamp[status.index]})
</div>
</td>
jquery side :
function doTimeStamp(x) {
// do some parsing work
return result;
}
I've tried
<script type="text/javascript">doTimeStamp(${bulletinTimeStamp[status.index]})</script>
but no effect..
Thanks!!