Hi all,
I've googled until my fingers hurt, searched the threads here, but I'm not finding what I'm looking for.
I have a Select Box populated:
I would like to dynamically select one of the items from the list based on data I will collect from another page.
Let's say for instance I've determined that I need 'Ambient' selected when the user gets to the page. I'm also using php, so I can echo the appropriate HTML code if I can just determine what that is. I greatly appreciate any pointers or tips.
Harold
***You can't change your past, but you can change your future***
I've googled until my fingers hurt, searched the threads here, but I'm not finding what I'm looking for.
I have a Select Box populated:
Code:
<select name="selectprimarygenre" id="selectprimarygenre" dir="ltr">
<option selected>Acoustic</option>
<option>Alternative</option>
<option>Ambient</option>
<option>Beats-N-Loops</option>
<option>Blues</option>
</select>
I would like to dynamically select one of the items from the list based on data I will collect from another page.
Let's say for instance I've determined that I need 'Ambient' selected when the user gets to the page. I'm also using php, so I can echo the appropriate HTML code if I can just determine what that is. I greatly appreciate any pointers or tips.
Harold
***You can't change your past, but you can change your future***