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

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

python - build a suggestions list using fuzzywuzzy -