Avatar of frosty70
frosty70
 asked on

pop-up dialog box for document library upload

I am looking to create a javascript alert when a file has been uploaded to a document library.  I'm new to sharepoint and aspx, but I have tried to look at upload.aspx both in the advanced view editor and sharepoint designer and have not identified an area to insert my javascript

a really hard function which I want to associate with an onSubmit event.-

function MM_popupMsg(msg) { //v1.0
  alert('Your files were loaded to the MSCHE Vault');
}

Any help would be greaatly appreciated.
Microsoft SharePoint

Avatar of undefined
Last Comment
frosty70

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
navdeepmadan

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
frosty70

ASKER
So if I'm understanding you, I have to use visual studio to create the custom event handler (I am much more used to Linux ruby and php, please forgive me).  Where would I associate the script with itemAdding?
frosty70

ASKER
the answer was exactly what he said it was, but the problem was there were few instructions or links to how to perform the operation.  More importantly, the solution required admin/desktop access to the server.  i was hoping for something javascript or jquery - based.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes