Reputation:
Being given this example: http://jsfiddle.net/ringstaff/k9FkZ/, how could I display sin and cos values in a <div></div>
? I tried to append y like: $("#h2").eq(i).html(y.toFixed(2));
and H2: <div id="h2" />
, but didn't work.
Thanks in advance!
Upvotes: 2
Views: 155