New answers tagged

2

From Craft CMS documentation page about requesting controller action: when you send action as parameter, format should be without '/actions': <input type="hidden" name="action" value="plugin-handle/controller/action"> and you can directly open that URL directly- with 'actions' at the beginning as default actionTrigger - ...


1

While there is no reason it wouldn't work using the onload attribute of the <body> element, you could also consider using a twig {% js %} tag. The {% js %} tag allows you to register JS to be added in your page from anywhere in your template. By default it will be added at the end of the <body> element, which guarantees your HTML document is ...


1

Please follow the below steps. Use a sorting class for each field. <table class="data"> <thead> <tr> <th class="sorting" >Name</th> <th class="sorting">Age</th> <th class="sorting">City</th> <th class=&...


Top 50 recent answers are included