JSFiddle - React, Tailwind, and code Playground

by superbDeveloper

HTML

<input type="text" value="text to add" id="txt_456789" />

<input type="text" value="more text to add" id="txt_45657899" />

JavaScript

//concat test


var str1 = "3456789456";
var str2 = "3456789456";
var str3 = "3456789456";



alert("".concat($("#txt_456789").val(),$("#txt_45657899").val()));