I have a string, '0x000000000000090D' that I am passing to a function. However, when I try to display it in an alert in the function, it has been converted it to 2317. Displaying it in an alert in the calling function displays it correctly.
var tagid = msg[post].TagID.toString();
alert(tagid);
ShowDetails(tagid);
function ShowDetails(tagid){
alert(tagid);
}
Why is it being converted, and what is it being converted in to so I can try to stop it?
Thanks!