sniper
11-25-2005, 09:54 AM
I just want to know if this would work, because I looked at it a second time and something doesn't seem right.
I changed this:
<td class="button" nowrap><a class="TitleBarButtonTxt" href="javascript:document.frmMain.hidCategory.value='515,<%=trim(fctGetText("CloseoutGolf"))%>';document.frmMain.action = 'catalog.asp#online';document.frmMain.submit();"><%=trim(fctGetText("CloseoutGolf"))%></a></td>
to this:
<td class="button" nowrap><a class="TitleBarButtonTxt" href="<%="<input type=""hidden"" name=""hidCategory"" value=""515,"+trim(fctGetText("CloseoutGolf"))+""" />"%><%response.Write "catalog.asp#online"%>"><%=trim(fctGetText("CloseoutGolf"))%></a></td>
If you are wondering why I'm getting rid of the javascript, it's because I was told to redo the whole site using only asp. The site is being constructed for the visually impaired and javascript does not show up in the source code. I'm guessing there is some machine that reads out the source code.
I changed this:
<td class="button" nowrap><a class="TitleBarButtonTxt" href="javascript:document.frmMain.hidCategory.value='515,<%=trim(fctGetText("CloseoutGolf"))%>';document.frmMain.action = 'catalog.asp#online';document.frmMain.submit();"><%=trim(fctGetText("CloseoutGolf"))%></a></td>
to this:
<td class="button" nowrap><a class="TitleBarButtonTxt" href="<%="<input type=""hidden"" name=""hidCategory"" value=""515,"+trim(fctGetText("CloseoutGolf"))+""" />"%><%response.Write "catalog.asp#online"%>"><%=trim(fctGetText("CloseoutGolf"))%></a></td>
If you are wondering why I'm getting rid of the javascript, it's because I was told to redo the whole site using only asp. The site is being constructed for the visually impaired and javascript does not show up in the source code. I'm guessing there is some machine that reads out the source code.