Please help with return dialog
Hello, I really need help with this, I am new to jquery and I just made a page with 3 ul with some li that you can switch between them, and I made a dialog that when you click it returns what's in every ul, What I don't know how to make is how to return what's on that moment on the ul, please I really need help, here some pictures: