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
Release: 2016-06-24 12:03:50
Original
1491 people have browsed it

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>

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template