Hello,
I have a form callled "Project", it contains a selectbox with the names of the companies , the other selectbox is hidden and is called "Staff" and is to be made visible and filled with the names and ids of users that are working for the selected company.
>>selectbox "Company" visible | >>selectbox "Staff" hidden
-----------...
Hello!
I cannot figure out how to add a class to this select box in Rails 3.
<%= select(:item, :item_type, [['Phone', 1], ['Email', 2], ['Website', 3], ['Address', 4], ['Occupation', 5]]) %>
Is there anyone that knows how to do it?
Please help!
...
On a website that I'm currently making I placed a selectbox were user's can sort a list of items displayed on the page. When they choose one, the page is being submitted and the selectbox value jumps back to the first default one. Now I want the selectbox to retain value after submitted.
Im working in XSLT, so I can't use PHP. Is there...