Denise,

Start with your basic <select> tag, and then in your code that emits the
list of <option> tags, do something like this:

  <option value='" + stateCode + "'" + ((stateCode.equals(currentStateCode))
? " selected " : " ") + ">" + stateName + "</option>"

In other words, emit the

  <option value='NY'>New York</option>

tag, or the

  <option value='NY' selected>New York</option>

variant, depending upon whether the option you are about to emit is the
currently selected option.

        --- Noel


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to