Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2018 07:51 AM
Hello JC,
You can try hiding the save button using a css declaration like display:none, and then using jquery to trigger the save button click when clicking your own custom button. Try pasting in the below code into a widget and see if this helps point you in the right direction.
<style>
#hiddenButton {
display: none;
}
</style>
<body>
<button id="hiddenButton" onclick="doSomething()">Im hidden</button>
<button id="clickme">Click me</button>
<script>
$("#clickme").click(function() {
$("#hiddenButton").trigger("click");
});
var doSomething = function() {
alert("hello there");
}
</script>
</body>