When creating a new event in our calendar, an absolutely positioned iframe appears. How can I load JavaScript inside this iframe? I want to do some manipulation of the form with JavaScript.

enter image description here



  • Go to the NewForm page, for instance:


  • Add the parameter for editing the page:


  • Insert a CEWP (content editor web part). Inside this webpart you can add JavaScript or reference to a file (reference is best option).

Hope it will be helpfully!

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.