Hi,
I'm trying to use Javascript within ASP but I am receiving a "Syntax error" can someone please show me what's wrong with it? I suppose it must be something to do with the apostrophes: (its all written on one line).
<%if ShowButton = "True" then response.write "<input type='button' Onclick=Javascript:location.href=' value='Test' name='B1'>" end if %>
Many thanks!
I'm trying to use Javascript within ASP but I am receiving a "Syntax error" can someone please show me what's wrong with it? I suppose it must be something to do with the apostrophes: (its all written on one line).
<%if ShowButton = "True" then response.write "<input type='button' Onclick=Javascript:location.href=' value='Test' name='B1'>" end if %>
Many thanks!