Ask questions and get good answers on mb.jQuery.components

Hi Matteo, who can I put a form inside a child menu? When i try to do it i get a strange behaviour. Clicking in any “input” element the menu close himself.

asked Apr 23 '10 at 21:32

Simone's gravatar image

Simone
111

edited Apr 23 '10 at 21:36

Matteo%20Bicocchi's gravatar image

Matteo Bicocchi ♦♦
1776129


Hi Simone, It is a bug… You have to change 1 line of code in jquery.mb.extruder and add a new class to your FORM:

line 283 (v. 1.8.1):

content.children()

should became:

content.children().not(".text")

Add to your form (or extra content): class= “text” Now it should work fine.

answered Apr 23 '10 at 21:35

Matteo%20Bicocchi's gravatar image

Matteo Bicocchi ♦♦
1776129

Your answer
toggle preview

jQuery main site - Matteo Bicocchi