something like this should work:
Essentially you add an event listener to the select element and run some simple code that works out the discounted price, then update the discounted price input value
http://jsbin.com/yafociqoxe/edit?html,js,output
Javascript:
var origPrice = 100;
var discountOption = document.getElementById("discount"),
discountPrice = document.getElementById("discounted-price");
discountOption.addEventListener('change', function (e) {
discountPrice.value = origPrice - origPrice * this[this.selectedIndex].value;
});
Html:
Original Price : $100
Discount:
Dicounted Price: