If condition not working in classic ASP
问题 I am new to classic ASP. What is wrong with the code below: If condition error, don't get it. Please help. <select NAME="Priority" style="WIDTH:200px" Id="Priority"> <option value='0' <%= if(condition) then "selected" end%> 0 </option> <option value='1' <%= if(condition) then "selected" end%> 1 </option> <option value='2' <%= if(condition) then "selected" end%> 2 </option> <option value='3' <%= if(condition) then "selected" end%> 3 </option> </select> 回答1: Should be : <% if condition then