Update system/helpers/form_helper.php

Example use: 
```php
// PHP
form_hidden('status_id', '0', FALSE, 'id="status_id_for_update"');

...

// JavaScript
$('#event').change(function() {
  $('#status_id_for_update').val('1');
});
```