In this example (which is working) on click of a button the section is toggled visible/invisible. Great but what is the code in line 2 actually doing?? I have found a reference to the :eq(0) part here on jQuery.com but the '>' I have no clue. Under firebug it doesn't seem to matter if the '>' is there or not.
$("#btnHideShow").click(function() {
$("> :eq(0)", "#toggleGrid").toggle("blind");
if ($("#btnHideShow").val() == "Hide List") {
$("#btnHideShow").val('Show List');
} else {
$("#btnHideShow").val('Hide List');
};
});