I'm trying to add an option to a select:
function add(){
var opt = document.createElement("option");
opt.value = "0101";
opt.text = "foo";
}
This code works.
My question is why when I remove the double quotation marks from the line where I pass the value to the option does the value become 65?