It puts strings together instead of adding them Javascript
<pre><code>var x = e.pageX;
var myX = $(this).html();
var difference = myX - x;
var ex = myX + difference;
</code></pre>

<p>Everything workes until the last row. It doesn´t make an addition, it puts together the variables into one string. If myX is 10 and difference is 20 it will be 1020 when I want it to be 30.</p>

<p>How do I solve this?</p>
