in my file form.php I have:
<table class="adminform adminFormK2"> <tr> <td><label for="title"><?php echo JText::_('Title'); ?></label></td> <td><input class="text_area" type="text" size="40" name="title" id="title" maxlength="250" value="<?php echo $this->row->title; ?>" /></td> <td><label><?php echo JText::_('Category'); ?></label></td> <td><?php echo $this->lists; ?></td> - here we have the list of categories
Where I must add the code, and how?:
window.addEvent('domready',function () {$$('#catid option').each(function(item, index){if (item.getProperty('disabled'))item.remove();});});
Please help...