I am using wordpress to have few lines of code to show up in dialog box but till now no success. I tried .show() of jQuery and its working but doesn't work if i change it to .dialog() or popup(), anyone got any idea how its not working and what should i do to make it work.? here is Fiddle