Update Panel Title From Plugin

I have an input in my panel plugin where the user can update the panel title, I am referencing the panel title and updating its value based on what the user types in but it doesn’t save.

I have yet to try this but as far as I can tell, the update of the title happens inside a function. Where is this function being called?

Thank you for your reply. I call the function when the user clicks the button, it changes the panel title variable to the input value but it doesn’t save on the dashboard.

The only way to do that is to manipulate the DOM directly by navigating through the parent elements and modify the HTML directly (“jquery style”). Or you can use a dashboard variable inside the panel title. Either way there’s no clean interface to manipulate the panel’s title from plugin code.