Save custome HTML actions
Confluence User - 15 Jul, 2015
Dear support
I have created a form with costume HTML sections, my problem is i cannot save the actions that are made on those section whenever i submit the form or save
Lets say i have a button that would be colored green once action is done but when the form is submitted it will be gray again
below is my html code
<!DOCTYPE html>
<html>
<body>
<input type="button" id="myButton" name="myButton" value="Complete" />
<script >
var Icount1=0;
$("#myButton").click(function(){
if (Icount1==0)
{
Icount1=1;
this.style.background = '#00FF00';
color();
}
});
function color(){
}
</script>
</body>
</html>
forms