Set an input value without losing cursor position
var setify = setify('setify'); setify(inputElement, value);