<html> <body> <button onclick="var myS = new String('First String '); alert(myS.concat('Another string'));">add two strings together</button> </body> </html>