Consider customizing your button based on the specific situation and ensure it includes both 'href' and 'data-ftrans' attributes. This will trigger the function slideTo(href, effect, pushstate) within the relevant context.
- href: link to a single HTML page
- data-ftrans: defines the type of transition
If you wish to submit a form and then navigate to another page without actually submitting the form again,
<form action="your server script" method="post">
<button click="ajax_submit"></button>
<a href="next page link" data-ftrans="type of transition" style="visibility:false">Hide</a>
</form>
<script>
function ajax_submit(){
//execute some Ajax code
//on successful completion
//a.click();
}
</script>