So fügen Sie den Wert mit jQuery an das Eingabefeld an

$("#resultsInput").val($("#resultsInput").val() + temp_string);
Unusual Unicorn