I have this html…
<select id='View' name='View'> <option value='1'>With issue covers</option> <option value='0'>No issue covers</option> </select>
It won’t let me insert code like this…
<select id='View' name='View'> <option value='1' <% ..logic code..%> >With issue covers</option> <option value='0' <% ..logic code..%> >No issue covers</option> </select>
So whats the best way to set one to selected?
Update: Without using the HTML Helpers.
I would agree with Marc on using helpers but if you must avoid them then you could try something like the following: