backing bean is not called from jsp in jssf 1.2
<p>I am using a javascript method to call a backing bean method from a jsp page in jsf 1.2.The javascript method is  firing but the backing bean is not called from the jsp page .I am posting what i have done here </p>

<pre><code>&lt;h:panelGroup styleClass="panelGroup" id="grpMemDep"&gt; 
                                            &lt;h:selectOneMenu id="memDepCode" styleClass="inputfont" onchange="getMemberDepInfo();"&gt;
                                                &lt;f:selectItem itemLabel="----SELECT----" itemValue="0"/&gt;
                                                    &lt;f:selectItems id="selectItems32"
                                                        value="#{searchUserProfileBean.memberDependentList}" /&gt;
                                                &lt;/h:selectOneMenu&gt;

                                        &lt;/h:panelGroup&gt;

                                      &lt;hx:commandExButton type="submit" value="submit"
                                                styleClass="commandExButton"
                                                id="getAllMemberDepInformation" action="#{pc_userManagementProfile.doGetAllMemDepInfoAction}" &gt;
                                                &lt;hx:behavior event="onclick" id="behavior21" behaviorAction="get"&gt;&lt;/hx:behavior&gt;
                                            &lt;/hx:commandExButton&gt;   
</code></pre>

<p>This is the javascript code</p>

<pre><code>function getMemberDepInfo(){

//alert(document.getElementById('vwmyUserProfile:myUserProfileForm:getAllMemberDepInformation').value);
document.getElementById('vwmyUserProfile:myUserProfileForm:getAllMemberDepInformation').click();
</code></pre>

<p>}</p>

<p>the backing bean method </p>

<pre><code>public String doGetAllMemDepInfoAction(){

System.out.println("coms in the method");

    System.out.println("Information :"+getMemDepCode().getValue().toString().trim());


    return "";
}
</code></pre>

<p>This is entry in the faces-config </p>

<pre><code>&lt;managed-bean&gt;
   &lt;managed-bean-name&gt;pc_userManagementProfile&lt;/managed-bean-name&gt;
   &lt;managed-bean-class&gt;pagecode.com.metlife.eservice.member.UserManagementProfile&lt;/managed-bean-class&gt;
   &lt;managed-bean-scope&gt;request&lt;/managed-bean-scope&gt;
&lt;/managed-bean&gt;
</code></pre>

<p>The problem is that the submit button is not working ,I am new to JSF please help.Thanks in advance.</p>