html - Back Button with Javascript in Jira Velocity -


i developing velocity template our jira instance. thereby, inserted button go 1 page back. unfortunately javascript inserted nothing happens. code wrong? have consider special?

<!-- button -->    <span style="align:right">      <button id="description-back-button", onclick="goback()", class="aui-button">back icockpit </button>         <script>         function goback() {             window.history.back();         }         </script>    </span>   </div> 

thanks lot help!

use instead of <button></button>. correct problem

<input type="button" value="back icockpit" class="aui-button" onclick="window.history.back();" id="description-back-button">  

Comments

Popular posts from this blog

mysql - FireDac error 314 - but DLLs are in program directory -

git - How to list all releases of public repository with GitHub API V3 -

c++ - Getting C2512 "no default constructor" for `ClassA` error on the first parentheses of constructor for `ClassB`? -