Add select option by using javascript

I solve it…

The code is :

frm.set_df_property('grading_subject', 'options', [""].concat(itemShow));

Note: itemShow is an arraylist data type.

2 Likes