[EN] jQueryUI Dialog without a container
I’ve a serious problem with dialogs in jQuery, because always we need to build a container div to put our content inside.
Perhaps we have another method to do that?
Thinking…BINGO! 😜
We have! it’s simple, so instead this :
We will be using a new way, take a look:
Confused?😀
Let me explain:
First, build a jQuery with a div inside,
this trick avoid us to need to use another div on your DOM
after that, we made a method
to simplify we follow the pattern.
Voilà 👌