using OnChange in PHP-CodeIgniter