How to create a modal dialog box in SharePoint 2013 using JavaScript

preview_player
Показать описание
In this video you can see how to create a simple dialog box using SharePoint JavaScript library function. We create an HTML file to be displayed as dialog box and upload it to SharePoint 2013 and after that we create JavaScript code to call that page in a modal dialog box.

My Blog:

Join My Network on LinkedIn:
Рекомендации по теме
Комментарии
Автор

Very useful thing! Thank you teacher and we hope you will continue teach us. Like 100%.

adminssmoil
Автор

can we add JavaScript code directly in site pages instead of using cewp. if yes then how?

narapat
Автор

Thanks for the great tutorial! is there any way to paste the function script in Script editor or content editor?Thank you

mariiazdorovan
Автор

Hi Sir, Thank you very much for this video.
how we can close Dialog box which contains sharepoint hosted app's appweb default.aspx because of cross domain issue i am getting this error - " Uncaught TypeError: Cannot read property 'commitPopup' of null at eval". can you please help ?

hipendrarathore
Автор

Hi Ali, my question is, If i have multiple youtube video in our webpart page so how I do that this function, if i want to onclick our youtube video then open and play youtube in popup.

please suggest me.

Thanks for advance.

PowerPlatformDiv
Автор

This is great, easy to follow instructions when I was using SharePoint 2013. Now I'm stuck with just SharePoint Online, and I don't have the tool ribbon, insert tab, etc., to access the webpart controls. Do you have instructions for creating the dialog box entirely in SharePoint online?

ryannah