开发者

how do i add id in this codeigniter select options

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜