I have been working with ASP and HTML now for about 6 months. I was wondering if it is better practice to do a response.write to enter html code or to end the ASP script to put the code in. I have been doing both depending on my mood at that moment.
Such as:
if not lors.eof then
response.write "<font face=""Tahoma"" size=""3""><B>Edit Time Cards<br><br></B>"
response.write "<select size=""1"" name=""associate1"" onchange=""SubmitAuto()"" id=""associate1"">"
response.write "<option value=""None"">**Choose Employee**</option>"
OR
if not lors.eof then %>
<font face="Tahoma" size="3"><B>Edit Time Cards<br><br></B>
<select size="1" name="associate1" onchange="SubmitAuto()" id="associate1">
<option value="None">**Choose Employee**</option>
Just curious to see what the 'pros' do!! Thanks.
Such as:
if not lors.eof then
response.write "<font face=""Tahoma"" size=""3""><B>Edit Time Cards<br><br></B>"
response.write "<select size=""1"" name=""associate1"" onchange=""SubmitAuto()"" id=""associate1"">"
response.write "<option value=""None"">**Choose Employee**</option>"
OR
if not lors.eof then %>
<font face="Tahoma" size="3"><B>Edit Time Cards<br><br></B>
<select size="1" name="associate1" onchange="SubmitAuto()" id="associate1">
<option value="None">**Choose Employee**</option>
Just curious to see what the 'pros' do!! Thanks.