Hot answers tagged


I have solved my problem using ajax post request on phtml file So I have created two phtml files and in my first phtml file which show the output data on page reload I have called the ajax post request to my custom controller <div id="customdata"></div> <?php $ajaxurl = $block->getAjaxUrl(); ?> <script type="text/x-magento-init"&...

Only top voted, non community-wiki answers of a minimum length are eligible