Problem with JS function Programming Web Development by rem2 …); </script> </body> </html> The elips drawing function takes down rx,r from user and start… Re: Problem with JS function Programming Web Development by AleMonteiro You are getting the X and Y values as strings, so insted of adding it's concatenating. Ie.: '7' + 10 = 710 Update those two lines: var rx= parseInt( document.getElementById('rx').value ); var ry= parseInt( document.getElementById('ry').value ); Re: Problem with JS function Programming Web Development by rem2 thanks :D it works :D