Button with axn='route.run'

/ Button Actions / Button with axn='route.run'

Ex_1: If you want to fire ajax on click without form submit.

<button bind=”click”
axn=’route.run’
bind_selector=’.edit_submit’
route_ajax='[module.slug /].[template_name=’key-skill-edit’]’
class=”btn btn-success key-skill-edit-button”
term-id=”[aw2.get @skill.item.term_id /]”>
</button>

Categories
Most Popular

Leave a Reply

Your email address will not be published. Required fields are marked *