You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a link which deletes a record and I'm using Ajax & POST method. But PJAX "converted" it to GET method. Is there any way to tell PJAX in the API to exclude elements?
This is the simple code.
<a href="...">delete</a><!-- This link trigged by POST method AJAX -->
<div class="card-body">
<div id="pjax-container">
...content
</div>
</div>
new Pjax({
areas: [
'.card-body',
'#pjax-container'
]
});
The text was updated successfully, but these errors were encountered:
I have a link which deletes a record and I'm using Ajax & POST method. But PJAX "converted" it to GET method. Is there any way to tell PJAX in the API to exclude elements?
This is the simple code.
The text was updated successfully, but these errors were encountered: