i have two text boxes with the id as first and second respectively.In javascript i took the values using
var first=document.getElementbyId("first").value.
var second=document.getElementbyId("second").value.
var sum=first+second;
But the problem is when i alert the sum i got the result as concatenated.i didn't get the original sum.I also tried it as first=Number(first) , but there is no result.
can u help me?
thanx in advance