Restrict additional pagehead in sharepoint popup window -


hi have added additionalpagehead in sharepoint run javascript functions show texts. working fine in sharepoint pages working in sharepoint popup window also. how can restrict popup windows.

try use code inside placeholderadditionalpagehead placeholder:

<script type="text/javascript"> var isdlg = (/[\\?&]isdlg=([^&#]*)/.test(window.location.href)); if (!isdlg) {  //  javascript code ...  } </script> 

Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -