0

I want the edit form to behave differently on different list views. Therefore I have attached JavaScript to the list edit form. The problem is how can I differentiate from which view it was invoked?

0

You could try document.referrer but it isn't failsave when used in combo with MDS

Better is to attach an URL parameter to the Edit buttons in the View

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.