i created a button with custom html , i want when i click on that button a new hidden section shows up with results from the old section how to do that

Confluence User - 13 Apr, 2023

i used this code for the custom html button <div>
    
    <button id="estimer" value="true">estimer</button>

</div>
<script>
$(document).ready(function() {
  $('#estimer').click(function() {
    var value = $(this).val();
    if (value === 'false') {
      $(this).val('true');
    } else {
      $(this).val('false');
    }
  });
});
</script> 

and this to control the visibility of the hidden section 

forms;datalists;userviews;server;user;beanshell

2


13 Apr, 2023
confluenceUser
confluenceUser

thats the same me who posted the question its just no one answer 


RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print