开发者

how do i add id in this codeigniter select options

开发者 https://www.devze.com 2023-03-01 04:01 出处:网络
how do i add id in this codeigniter select op开发者_Go百科tions echo form_dropdown(\'selling\', $ex_rates);?>

how do i add id in this codeigniter select op开发者_Go百科tions

echo form_dropdown('selling', $ex_rates);?>


Read the userguide.

If you would like the opening to contain additional data, like an id attribute or JavaScript, you can pass it as a string in the fourth parameter:

$js = 'id="shirts" onChange="some_function();"';

echo form_dropdown('shirts', $options, 'large', $js);
0

精彩评论

暂无评论...
验证码 换一张
取 消