Tag Archives: HTML

Unexpected parseFloat behavior with this.innerHTML in Chrome

This was an unusual case. In one project, I used the JavaScript parseFloat() function to calculate a final total, but the value came from HTML previously generated by a jQuery AJAX request: $(‘#’+id).html(rezult+’ ‘+currency); … $(‘#total’).html(‘TOTAL: ‘+totalcalc()); The value therefore … Continue reading →

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

Chinese characters from Excel to HTML, handled with VBA

This macros turns Chinese letters in “MS Excel 2007” spreadsheet to HTML codes. It will works with all Unicode chars, so can be used with Cyrilic, Hebrew, Arab, Japan an all others languages. In my case it prepares XML form … Continue reading →

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