Skip to:
Content
Pages
Categories
Search
Top
Bottom

Ajax buttons

  • Avatar of designnz
    designnz
    Participant

    @designnz

    Im using buddypress buttons outside the activity loops and want the buttons to work via the same ajax call as in the activity loop.

    I.E: I have a custom favourite button on my custom post and want to save to favourites without the page reloading?

    Thanks

Viewing 1 replies (of 1 total)
  • Avatar of Henry
    Henry
    Participant

    @henrywright-1

    Look for wherever the ‘loading’ class gets inserted via the ajax script then ensure that your CSS selects the right elements in the page. You’ll then see the spinner when you hit the button

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.