Here's an easy question for once (I hope):
I've seen both of these methods, but I'm not sure which is the
right way to update a panel's properties. If I want to collapse (or expand, close, open, maximize, restore) a panel, which of these lines of code is the proper way to do it? And what is the difference between the two?
$("#p").panel({ collapsed: true });
$("#p").panel("collapse");