markscarts Posted July 27, 2009 Share Posted July 27, 2009 Name attribute and id attribute must be identical on an element to be valid. In the CubeCart skins, for instance Kitablue, the form tag on line 13 uses the productId from database as an id for the form, while the name is set as "addtobasket" leading to invalid html code. My question is, Is it necessary to have the id set as product id, or put another way, what will be the effect on function, if any, if the id is set as "addtobasket"? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.