Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 34484

Ajax - The core of WordPress uses Ajax only in the administration screens. For instance, Ajax is used for instant updates when you are doing comment moderation, and when you are adding and deleting items from lists such as categories, blogroll, and posts; Ajax is also the technology behind the auto-save functionality on post and page editing screens. Several themes and plugins also use Ajax; for instance, some post rating plugins.

1 vote

Making POST request with AJAX returns a 400 error (without jQuery)

target_position = target_shape.top + window.pageYOffset; window.scroll({ top: target_position - 60, left: 0, behavior: 'smooth' }); } // Set up some data to send in the AJAX … if( xhr.readyState === DONE ){ // console.log('ajax is done: ' + xhr.status); if( xhr.status === OK ){ // console.log('status is OK'); // console.log(xhr); …
James's user avatar
  • 218
0 votes
1 answer
4k views

Making POST request with AJAX returns a 400 error (without jQuery)

Searching for something or checking/unchecking a category starts an AJAX request to get the posts based on the search/categories, then populates those results into the list on the page. … What am I doing wrong with the plain JS AJAX? What is jQuery doing that my code isn't? …
James's user avatar
  • 218