How to pass the dynamically generated select value? HTMLcode & lt; selectname = & quot; cpm_id & quot; id = & quot; cpm_id & quot; onchange = & quot; change_pm ({$ list. id},) & quot; & gt; & lt how to pass this dynamically generated select value?
HTML code
Transfer{Foreach item = pm_list from = $ pm_list}{$ Pm_list.user_name}{/Foreach}
How can I change {$ pm_list.user_id} to the change_pm () parameter? Is the parameter of change_pm () in parallel with {$ list. id }.
------ Solution --------------------
{$ Pm_list.user_id} is returned by many IDs? Do you want to put all IDs in the change_pm () parameter?
Is option value selected currently ??
------ Solution --------------------
Transfer{Foreach item = pm_list from = $ pm_list} {$ Pm_list.user_name}{/Foreach}
------ Solution --------------------
Discussion
HTML code
Transfer{Foreach item = pm_list from = $ pm_list}