-
-
Recent Posts
-
Do you want to earn money by just turning your computer on? Do you want to add a little bit of extra cash to your incomes without a second job? Do you have a Windows PC or laptop? If the answers are “yes”, so there is something for you.
read more… Categories
Archives
-
Meta
Tag Archives: string
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 AJAX, calculate, Chrome, code, final sum, Google Chrome, HTML, HTML code, innerHTML, isNaN, JavaScript, JavaScript function, jQuery, js, js function, NaN, parseFloat, string, sum
Leave a comment