Set initial value from target element.