We can check page mode by this value.
If it is one then page is in edit mode.
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
document.forms[0].elements["MSOLayout_InDesignMode"].value
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
Thanks and Regards
Really....very useful codes...@
ReplyDeleteThanx
Jaymit Shah