Is there a way to detect whether or not a user clicked on a link from within a jQuery dialog?
The dialog is opened using moreBlock.dialog('open'); and the link is available from the parent window and within the jQuery dialog.
I need to detect whether the link was clicked from within an open dialog or just from the parent window.
Thanks!
Why not just check to see if it’s inside the dialog by checking if it has a parent with a
ui-dialogclasshttp://jsfiddle.net/p5V68/1/