Use of wild card characters in jquery selectors

To hide all the elements starting with “tab” you should use:
$("[id^=tab]").hide();
To hide all those that end with “tab”
$("[id$=tab]").hide();