jsf script

this is ramui want to submit the JSF command button through javascript?can any one help me
[111 byte] By [anantharambabua] at [2007-11-27 9:32:16]
# 1
document.getElementById('formId:buttonId').click();should do.
BalusCa at 2007-7-12 22:49:19 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...