I have added another function to the MTJ library that I find myself using in EVERY application that I create because it’s so useful.
It takes an array of data (format: “value” => “displaytext” ) and create the dropdown in this format: <option value=”value”>displaytext</option> for each element in the array.
[b]Syntax:
string [b]make_dropdown
[i]select_name
[i]data
[i]match
[i]size
[i]multiple
[URL=http://www.mytechjournal.com/viewtopic.php?p=44#44]Read more and download this script here