function call(op) {
var x = op.selectedOptions[0].textContent;
var n = x.substring(0, 3);
//alert(n);
document.pts.inputbox.value = n;
document.p
Based on a quick JSFiddle, the selectedOptions collection isn't widely supported yet.
Fails/Unsupported:
Works: