hi all,
I want to call a class function using beans inside java script. but it is not working. It calls that function only 1 time.
<jsp:useBean id="track" scope="session" class="ReturnProgress"></jsp:useBean>
<script type="text/javascript">
function getProgress()
{
document.getElementById('progress').innerHTML = '<%=track.findProgress()%>';
}
</script>
I want that Whenever user clicks on button , I call getProgress function on onclick event that fetches progress using findprogress() method.
please help.