Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7584109
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T18:50:32+00:00 2026-05-30T18:50:32+00:00

On my pages I have several different elements that are showing different representations of

  • 0

On my pages I have several different elements that are showing different representations of the underlying data. I have AJAX that will update the data through a PHP page, but I then want to trigger an update of all the different elements so they reflect the changes.

I’m thinking of binding the independent elements to a custom event “PageUpdate” so that if anything changes, a single event can be fired to update all elements.

I want to know if there is a way to automate this so that the custom event is always triggered when other events are triggered? Or would I have to put $.trigger("PageUpdate") in every other event I want to trigger “PageUpdate”? Additionally, can I filter out based on the events, when this is triggered? Not all events require a full page update.

The goal is to not have to go back and put .trigger() calls in the old code and to make it so we don’t have to remember it for every event going forward.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T18:50:34+00:00Added an answer on May 30, 2026 at 6:50 pm

    Refer to this page for how to bind an event handler to all events – All events example

    Then you could probably call / trigger your custom event in that event handler. You’ll also probably be able to filter on the event by looking at the e object passed to your event handler function.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have several web pages on several different sites that I want to mirror
i have several common elements (components), that will generate some html. it seems my
I have several <li> elements with different id's on ASP.NET page: <li id=li1 class=class1>
Lest say that we have several pages that retrieve items from the same EntitySet.
I have several wpf pages with update/delete/add buttons. I want to display to the
I have several aspx pages that can be opened either normally (full screen in
Background: I work in a suite of ASP.NET applications that have several different modules.
I have a JSF page that contains a form with several elements, that correspond
I have several PHP pages echoing out various things into HTML pages with the
I am building a page that is employing several different javascript elements and I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.