I’ve got a plugin for a wordpress, wp-ecommerce, I’ve already posted on their forums and not gotten a response.
The issue is the plugin is giving ‘Done but with errors’ in IE, so I ran IE’s debugging tool. What it doesn’t like is the following:
[code=php]jQuery(“form.product_form”).livequery(function(){
product_id = jQuery(‘input[name=product_id]’,this).val();
image_element_id = ‘product_image_’+product_id;
jQuery(“#”+image_element_id).data(“product_id”, product_id);
parent_container = jQuery(this).parents(‘div.product_view_’+product_id);
jQuery(“div.item_no_image”, parent_container).data(“product_id”, product_id);
});
The error states: Object doesn’t support this property or method wp-e-commerce.js?ver=3.7.58, line 143 character 2
which is the line: jQuery(“form.product_form”).livequery(function(){
However, when I close the debugger / run the script … it works fine, infact it works even with the error coming up on the page!
The plugin works completely I don’t see why forcing IE to run the script gets rid of the ‘done but with errors’ message?
Ive read around and found it maybe a jQuery conflict but I don’t know how to sort that, if several files call jQuery how can I fix it ?
Regards,
Aravona