Home >Web Front-end >HTML Tutorial >sharepoint 2013 custom list view page attachments open new page method dispform attachments open new page_html/css_WEB-ITnose

sharepoint 2013 custom list view page attachments open new page method dispform attachments open new page_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:03:501498browse

When we open a certain piece of data in the sharepoint list, if that piece of data has an attachment, the current page will always be replaced when the attachment is opened. How to open a new page when clicking on an attachment can be handled with a script.

<script></p> <p> $(document).ready(function () {</p> <p> if ($("#idAttachmentsTable") != null) {</p> <p>              $('#idAttachmentsTabletbody tr td').each(function ()</p>                                                                                                                                                              🎜> <p>             href.removeAttr("onclick");</p> <p>                                                                                                                                                                         href. 🎜> </p> }<p> </p> });<p> </p> </script>

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn