Mister Denial Posted September 8, 2011 Share Posted September 8, 2011 Hello, I nearly have my website W3C strict compliant except for one error I can't get rid off. Line 7, Column 12421: required attribute "type" not specified </a></p></div><script >/* <![CDATA[ */ I believe it's this script: /* <![CDATA[ */ var ao_disable_atc="";$('a.ajax_add_to_cart_button').each(function(){ao_disable_atc+=(ao_disable_atc==""?"":",")+$(this).attr('rel').replace('ajax_id_product_','');});$.ajax({type:'POST',url:baseDir+'modules/attributeorder/disable_json.php',async:false,cache:false,dataType:"json",data:{'products':ao_disable_atc},success:function(feed) {if(feed.ao_disable) {var disable_arr=feed.ao_disable.split(',');for(ao_id in disable_arr) {if($('a[rel=ajax_id_product_'+disable_arr[ao_id]+']').attr('class')) {$('a[rel=ajax_id_product_'+disable_arr[ao_id]+']').css('display','none');[spam-filter][spam-filter]});/* ]]> */ Does anyone know where to add the "type" attribute to fix this validation error? And also what type I should add? Thank you in advance for your assistance! Dan Link to comment Share on other sites More sharing options...
Recommended Posts