Your question has been submitted and is awaiting moderation.
Thank you for reporting this content, moderators have been notified of your submission.
Is there any recommended way in DNN7 to detect if a page is currently in Edit mode on the client side via Javascript? Something like the below would be nice.if (dnn.pageMode == 'edit'){ #39;I am in edit mode');}I know I've asked this question about previous versions of DNN and I did it using jQuery to inspect the selected value of the dropdown.