简体   繁体   中英

Access controls of RteUploadDialog.aspx from Jquery - sharepoint 2010

I am inserting a picture from a richtextbox and it is popping up a dialog which is RteUploadDialog.aspx from _layouts folder i want to perform some validation on that popup .My question is where i need to add the J query to access the controls of it

I am having a custom master page but when i view the source of RteUploadDialog.aspx it is not including any of the HTML from my master page .

can some one please let me know where to add the jquery to access the elements of RteUploadDialog.aspx

I found this link but its saying undefined can soem one please let me know how can i access the HTML of RteUploadDialog.aspx

http://microscoff.com/2013/11/14/modify-upload-to-choices-for-discussions/

You can modify \\14\\TEMPLATE\\LAYOUTS\\RteDialog.master file to add reference to JQuery and Custom JavaScript file. But it is not recommended to modify Application Pages inside Layout folder so follow below best practices to modify application files.

How to customize application pages in the Layouts folder in SharePoint

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM