Is there a way to do embed html in a vbscript? Here is what I have now that isn't working. What I want to do is to do the html based on the if in the vbscript.
TIA
<% if strBranch <> "Plea" and strBranch <> " " then %>
<select name="SALESMEN">
<option value="ALL" selected>All Salesmen... </option>
<% do while not objRSB.eof
strValueB = "**" & objRSB("branch_id" & " " & objRSB("outside_sales_no"& " " & objRSB("last_name" %>
<option value="<%=trim(objRSB("outside_sales_no")%>"><%=trim(objRSB("branch_id")%> <%=trim(objRSB("outside_sales_no")%> <%=trim(objRSB("last_name")%></option>
<% objRSB.MoveNext
loop
objRSB.Close %>
</select>
<% Else
objRSB.Close
End If
%>
TIA
<% if strBranch <> "Plea" and strBranch <> " " then %>
<select name="SALESMEN">
<option value="ALL" selected>All Salesmen... </option>
<% do while not objRSB.eof
strValueB = "**" & objRSB("branch_id" & " " & objRSB("outside_sales_no"& " " & objRSB("last_name" %>
<option value="<%=trim(objRSB("outside_sales_no")%>"><%=trim(objRSB("branch_id")%> <%=trim(objRSB("outside_sales_no")%> <%=trim(objRSB("last_name")%></option>
<% objRSB.MoveNext
loop
objRSB.Close %>
</select>
<% Else
objRSB.Close
End If
%>