Tag Archives: jQuery

Quick JavaScript hack/fixing of a jQuery problem

My site is a WP site. I use the popular Accordion Shortcodes plugin to handle my product’s pages. Also I use the even more popular Share Buttons by AddThis plugin to allow social sharing. But they don’t want to work … Continue reading

Posted in Blog, Hacks | Tagged , , , , | Leave a comment

Strange behaviour of parseFloat of ‘this.innerHTML’ in Chrome

This is a rare case: in a project I use parseFloat JavaScript function to calculate final sum, but string was in the HTML code, previously generated by jQuery AJAX call: $(‘#’+id).html(rezult+’ ‘+currency); … $(‘#total’).html(‘TOTAL: ‘+totalcalc()); so it must be captured … Continue reading

Posted in Blog, Hacks | Tagged , , , , , , , , , , , , , , , , , , | Leave a comment