Calling Java Clas method from OnClick event on InputText
machanNov 29 2011 — edited Jan 5 2012Hi,
I want to call a method in the java class from the OnClick event on an inputtext. Is this possible.
Actual task is - to clear the value in the textbox onClick. If I use the script ----- onclick="this.value=''; ----- the value at the client page gets cleared but server side value in the java class stays. I want to clear the value in the java class variable as well.
Please let me know if this can be done.
Thanks.