<textarea id="input" style="width:100%">{:url('login/index',['invite'=>$Think.session.user.uid], 'html', true)}</textarea>
<script> function copyText() { var input = document.getElementById("input"); input.select(); // Select the text document.execCommand("copy"); // Execute the browser copy command } </script>