SP.UI.ModalDialog call parent javascript expamlpe

1 - put ur script in a function, even if its a simple one, sometimes he wont know how to call it, expamlpe:
function Part3_InvoiceGrid_reloadGrid() {
  $('#InvoiceGrid').trigger('reloadGrid');
}

2 - from the modal window u call it like this (as simple as that):
parent.Part3_InvoiceGrid_reloadGrid();
 

Comments

Popular posts from this blog

CPanel - WHM - change sending email via server to email Relay (email supplier SMTP) (mailgun)

OverTheWire[.com] Bandit Walkthrough - JUST HINT, NO SPOILERS

JS Link Tutorial, Sharepoint 2013