Database driven select list
Ok so im trying to get a dynamic select list. Which i have done with php. My problem that i have been trying to figure out is this. The values listed in a select list are very basic in html as we know. I have a application i am trying to mimic which looks like this.
Notice the select box when selected shows the "code" from the dropdown. BUT the dropdown shows the code with a description of what the code is for. My database has the same information code and description. Im fairly good with php but im new to jquery and javascript in general so any help here would be amazing.