Verito Posted February 14, 2014 Share Posted February 14, 2014 (edited) Hola, amigos. Al pasar Firebug a mi web me sale este error en la consola. Uncaught TypeError: Object [object Object] has no method 'autocomplete' en la línea 3. La línea 3 es ésta: displayExpressCheckoutShortcut();return false;}else{checkOrder();}function checkOrder(){confirmTimer=setInterval(getOrdersCount,1000);[spam-filter]);/* ]]> */</script> Se me ocurre borrarle este trozo al script, puesto que no voy a usar el check out express de Paypal, pero no sé si me puedo cargar otra cosa. function displayExpressCheckoutShortcut() { var id_product = $('input[name=id_product]').val(); var id_product_attribute = $('input[name=id_product_attribute]').val(); $.ajax({ type: "GET", url: baseDir+'/modules/paypal/express_checkout/ajax.php', data: { get_qty: "1", id_product: id_product, id_product_attribute: id_product_attribute }, cache: false, success: function(result) { if (result == '1') { $('#container_express_checkout').slideDown(); } else { $('#container_express_checkout').slideUp(); } return true; } }); } $('select[name^=group_]').change(function () { displayExpressCheckoutShortcut(); }); $('.color_pick').click(function () { displayExpressCheckoutShortcut(); }); ¿Se puede corregir de alguna forma? Un saludo y muchas gracias Edited February 14, 2014 by Verito (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now