November 15, 200916 yr Hi again I've just tried to validate a page that I'm working on which validated fine until I used a script provided by DynamicDrive. Now the page won't validate and I don't know how to fix it or even whether I should worry about fixing it? Many thanks Kerstey
November 15, 200916 yr try putting <!-- before the js code (and after the <script type="">, and right at the end of the js add --> or put the js in an external file
November 15, 200916 yr Author try putting <!-- before the js code (and after the <script type="">, and right at the end of the js add --> or put the js in an external file The <!-- worked, thank you!
November 15, 200916 yr Author Now I have a problem with a script which shows a shopping basket on the page - same problem, the page doesn't validate, but it did before I put this script in Quantity: <script language="JavaScript" src="http://www.romancart.com/cartinfo.asp?storeid=4645521&type=1"></script><br/> Total: <script language="JavaScript" src="http://www.romancart.com/cartinfo.asp?storeid=4645521&type=2"></script> <form action=http://www.romancart.com/cart.asp method=post> <input type=hidden name=storeid value='46521'> <input type=submit value='View Basket'> </form> Any suggestions on what I should do to make this validate?
November 15, 200916 yr Now I have a problem with a script which shows a shopping basket on the page - same problem, the page doesn't validate, but it did before I put this script in Quantity: <script language="JavaScript" src="http://www.romancart.com/cartinfo.asp?storeid=4645521&type=1"></script><br/> Total: <script language="JavaScript" src="http://www.romancart.com/cartinfo.asp?storeid=4645521&type=2"></script> <form action=http://www.romancart.com/cart.asp method=post> <input type=hidden name=storeid value='46521'> <input type=submit value='View Basket'> </form> Any suggestions on what I should do to make this validate? Quantity: <script language="javascript" src="http://www.romancart.com/cartinfo.asp?storeid=4645521&type=1"></script><br /> Total: <script language="javascript" src="http://www.romancart.com/cartinfo.asp?storeid=4645521&type=2"></script> <form action="http://www.romancart.com/cart.asp" method="post"> <input type="hidden" name="storeid" value="465212" /> <input type="submit" value="View Basket" /> </form>
November 15, 200916 yr you should try closing all open code, make sure everything is in common letters, ensure you have them enclosed if they need to be and you should be fine. good luck
Create an account or sign in to comment