Onclick Not Calling Function

Example 1: This example simply put the argument which is string in the onClick attribute of the button which calls a function with a string as an argument using onClick() method. but get button onclick function is not working ?. I have a jsp document,and a java class with some functions,i want that a button that located in the jsp document,will execute a function from the java call on click. Our example form assigns an updateTotal function to the onclick property of each checkbox. Many people will use Javascript function call directly into the href attribute of the link tag when they want to execute Javascript. -N・ l W年AS君t^ S鍈 W-Nx[ R-N Tx[ ・/TITLE>