EllisLab/CodeIgniter — pull request #1870 by JFox-sk (2012-10-10 01:01:40+00:00)
Title: Update system/helpers/form_helper.php

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