Murk,
Знаете ли вы селекторы?
<!DOCTYPE html>
<html>
<head>
<title>Untitled</title>
<meta charset="utf-8">
<style type="text/css">
</style>
<script>
window.addEventListener("DOMContentLoaded", function() {
var inp = document.querySelector("#idname"),
out = document.querySelectorAll("[id^='idname_']");
inp.addEventListener("input", function(event) {
inp.value.split(/\s+/).forEach(function(text,i) {
out[i] && (out[i].value = text)
});
})
});
</script>
</head>
<body>
<input type="text" id="idname">
<input type="text" id="idname_cf2275ee56">
<input type="text" id="idname_c1fcb405d4">
<input type="text" id="idname_a49c87b871">
</body>
</html>