Hi,
I created a page, in this page, I placed a button and a list web part. What I want to do is when I click button, I can get the information about the list web part, i.e. the Id or the name of the list. How can I do this?
I'm asking this because there are many such pages, each page has a different list and a button. The button should do similar things just to different lists. So I don't want to hard code the lists in the button's onclick function, so wondering if there's a way to dynamically get the list information in JavaScript.
Thanks,
Michael