appendTo: Which element the menu should be appended to. When the value
is null, the parents of the input field will be checked for a class of
"ui-front". If an element with the "ui-front" class is found, the menu
will be appended to that element. Regardless of the value, if no
element is found, the menu will be appended to the body.
This means that
will do the trick. No need to use the option appendTo, that did not work for me.