<div id="ex1">This is some text.</div> <br> <button type="button" onclick="displayResult()">Change right border</button>