How to set Id to each option in select list on the editor form ?
How to set Id to each option in select list on the editor form ?
manoja
Posts: 6Questions: 3Answers: 0
I am getting a JSON result from controller with student "ids" and "names". I set "names" as option values and label . I want to set "ids" as id for each option (<option id=" " value="names">"names"</option>). I am not finding a way to do that. Can you help me?
This discussion has been closed.
Answers
Hi @manoja ,
This example here shows how you can IDs to the returned JSON. Hopefully that will help,
Cheers,
Colin