Included with SebTags is a very basic JavaScript helper file for cf_sebForm called sebform.js. In order to use it, first set the "sebformjs" attribute of cf_sebForm to "true".
<cf_sebForm sebformjs="true">
...
</cf_sebForm>
This will make an "oSebForm" JavaScript object available to the page. This will provide a few basic pieces of functionality that should work the same in cf_sebForm regardless of whether the format is "semantic" or "table" (which produce substantially different HTML).
In order to show or hide a field (and its label ), you can use the "toggleField" method with the following arguments.
So, if you wanted to use JavaScript to hide a field named "Fred" (note that case is important in JavaScript), you would use the following code:
oSebForm.toggleField('Fred','hide');