
Pop-up modal window SP2010
Code for adding pop-up links to list items and to Library items.
Full Code For a List Item:
Submit Feedback
Full Code for a Library Item:

Create link to new folder and item actions in modal window in SharePoint 2013
Create link to “New Item”
/_layouts/15/Upload.aspx?List={}&RootFolder=&IsDlg=1′,RefreshOnDialogClose,null,null,'’);”>Add item
Create link to “New Folder”
/Forms/Upload.aspx?RootFolder=&Type=1&IsDlg=1′,RefreshOnDialogClose,null,null,'’);” >New Folder

Pop-up modal window SP2013
Simple javascript command to open the dialog modal form
1. function OpenPopUpPage(url, callback, width, height)
2. function OpenPopUpPageWithTitle(url, callback, width, height, title)
3. function OpenPopUpPageWithDialogOptions(dialogOptions)
DialogOptions supports:
Options Property
Description
title
A string that contains the title of the dialog.
url
A string that contains the URL

Hide a text field in a SharePoint form using jquery
If you have several SharePoint Forms, where you want to hide the input field and using SharePoint Designer to create a custom form is not an option. Here is my collection of jQuery you can insert, using the ScriptEditor webpart.
Edit the “view” of a ListItem (DispForm.aspx)
1. Open