Return multiple name/value pairs with SELECT

wxdqz

New Member
I need for a select statement to return not one but two name/value pairs for each option and am wondering if this can be done with javascript.

In psuedocode, I am looking for something like this:

<select size="1" name_1="layout" name_2="orderby" >
<option value_1="orders" value_2="open_orders.Customer_PO_No">Open Orders By PO</option>
<option value_1="orders" value_2="open_orders.Customer_Part_No">Open Orders By Part Number</option>
<option value_1="orders" value_2="open_orders.Request_Date">Open Orders By Request Date</option>
<option value_1="shipments" value_2="recent_shipments.Customer_PO_No">Shipments By PO</option>
<option value_1="shipments"value_2="recent_shipments.Customer_Part_No">Shipments By Part Number</option>
<option value_1="shipments" value_2="recent_shipments.Shipped_Date">Shipments By Date Shipped</option>
</select>
 
Back
Top