<div dir="ltr">Hi guys, <div><br></div><div>In my application I have many many places in which I need to submit the surrounding form once an item has been selected from a list or things like that. For example, for a &quot;html select&quot;, I am relying on #beSubmitOnChange (which is deprecated....).</div>
<div><br></div><div>I am now using #tbsButtonGroup and #tbsDropdownMenu (they are inside a form with another html selects) and I want to achieve the same. I added a </div><div><br></div><div>onClick: &#39;submit()&#39;;</div>
<div><div><br></div><div>to the tbsDropdownMenu. The form seems to be submitted, but the callbacks of my anchors never get called:</div><div><br></div><div>Reduced example:</div><div><br></div><div>html form: [</div><div>
<div>html tbsButtonGroup: [  </div><div><span class="" style="white-space:pre">                </span>html tbsDropdownButton beDefault;  beExtraSmall; with: [html text: &#39;Filter &#39;; tbsCaret]. </div><div><span class="" style="white-space:pre">                </span>html tbsDropdownMenu</div>
<div><span class="" style="white-space:pre">                        </span>onClick: &#39;submit()&#39;;</div><div><span class="" style="white-space:pre">                        </span>with: [</div><div><span class="" style="white-space:pre">                                </span>html tbsDropdownMenuItem: [ </div>
<div><span class="" style="white-space:pre">                                        </span>html anchor</div><div><span class="" style="white-space:pre">                                                </span>text: &#39;Selected&#39;;</div><div><span class="" style="white-space:pre">                                                </span>callback: [self halt. ]. ].</div>
<div><span class="" style="white-space:pre">                                </span>html tbsDropdownMenuItem: [ </div><div><span class="" style="white-space:pre">                                        </span>html anchor</div><div><span class="" style="white-space:pre">                                                </span>text: &#39;Unselected&#39;;</div>
<div><span class="" style="white-space:pre">                                                </span>callback: [self halt. ]. ].</div><div><span class="" style="white-space:pre">                        </span>]</div><div><span class="" style="white-space:pre">        </span>]</div></div><div>
<br></div><div>]</div><div><br></div><div>Any ideas?</div><div><br></div><div>Thanks</div><div><br></div>-- <br>Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank" class="vt-p">http://marianopeck.wordpress.com</a><br>

</div></div>