get elemet valu and add them (parseFloat seems to fail)
<p>i have the code above</p>

<pre><code>var element1=$("#element1").val(); 
//the element1 value is 12.60 
//html code for this element &lt;input id="element1" value="12.60" /&gt;
element1=parseFloat(element1).toFixed(2);

var element2=$("#element2").text(); 
//the element2 value is 1.00 
//html code for this element &lt;span id="element2"&gt;1.00&lt;/span&gt;
element2=parseFloat(element2).toFixed(2);

var addthem=element1+element2;

console.log(addthem);
</code></pre>

<p>and of course i am expecting to see 13.60 BUT i get 12.601.00 (add the as string)</p>

<p>Am i missing something</p>
