This mid function simply starts the string at the 3rd character so it
discards the 1st and 2nd characters. There is no optional argument after the
3 so the string is from the 3rd character until the end. Tabindex just
refers to what order on a FORM the field is in focus when you use the TAB
key. By default FORM fields come into focus in the order in which they are
put on the page but you can override that by setting an explicit tabindex.

----- Original Message -----
From: "Tiffany Blake" <[EMAIL PROTECTED]>
To: "ActiveServerPages" <[EMAIL PROTECTED]>
Cc: "Chris Martin" <[EMAIL PROTECTED]>
Sent: Monday, November 04, 2002 5:26 PM
Subject: what does this mean?


can someone interpret this block of code?  specifically, what is "tabindex"
and =mid(...)  thanks

<select size="1" name="CourseLevel" tabindex="6">

  <option selected
value="<%=strCourseLevel%>"><%=mid(strCourseLevel,3)%></option>
          <option value="2-Beginner">Beginner</option>
          <option value="3-Intermediate">Intermediate</option>
          <option value="4-Advanced">Advanced</option>
  <option value="5-Refresher">Refresher</option>
         </select>

---
You are currently subscribed to activeserverpages as:
[EMAIL PROTECTED]
To unsubscribe send a blank email to
%%email.unsub%%



---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to