Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Calling Java Clas method from OnClick event on InputText

machanNov 29 2011 — edited Jan 5 2012
Hi,

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.

Comments

Waqar waqar

how can i solve ???????????

1 - 1
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Feb 2 2012
Added on Nov 29 2011
2 comments
1,092 views