I have a page that renders just fine. On the page is a control and I wanted to set the visibility to hidden. I can get a handle on the object just fine but then when I went to use what I thought were pretty typical methods such as:
.setVisible(false);
or
.css("visibility", "hidden");
I got the object doesn't support method error.
Now to solve my visibility problem there was a containing div for the control so I just set the div to hidden.
$('#footer_statecode').hide();
My question however for the future is how would I discover the methods supported by an object.
My google searches came close such as this SO post but in these example the person had a specific method they were looking for. I am interested in seeing everything available....and it doesn't have to be via an alert(); I'd be just fine using some capability in the different browsers Developer tools (F12).
Thank you once again for sharing your knowledge.