How to append menu to some element, rather then <body>? appendTo?

260 views Asked by At

If i use Jquery Context menu on my page, then all html code appears inside BODY tag. Right before closing I need that this html code located inside MY div with id="mydiv" .

I need it for my z-index issue (in fullscreen mode this menu not visible, because it not inside #mydiv element)

Some plugins has appendTo option, but Jquery Context menu is not i suppose. How to solve it?

1

There are 1 answers

1
mar10 On

Currently (v1.18.1) there is no such option. You might open a feature request for this.