1. Home
  2. Articles
  3. Notes
  4. Reload Article listing after Adding or Editing Article
Read about reload dynamic list with json

Reload Article listing after Adding or Editing Article

Published:

Share

Description

After adding or editing an article in the content management system, the list of articles wasn't updating to show the new records or modified entries.

Article

To resolve the issue, additional jquery code was added to refire the dynamic loading of the article listing section of the page. The refresh occurs after the record is successfully updated or inserted and the user has been notified.

$("#HTMLElement").load("/url/of/json/process.php");

Looks like there might be an issue with calling the reloading of the whole interface. Going to see if I still have scope on the loadArticles function.

Lost scope on the parent function, let's try redefining it and calling it again.

Looks like that fixed the issue.

Side note: I need to update the requirement for body entries to be greater than 500 characters. O.o

Author

Profile Picture of Bryan Myers - The Web Guy

Bryan Myers - "The Web Guy"

Advanced Digital Channel Engineer

Tags

  1. Articles discussing web related topics and technologies.Articles
  2. A place for things and stuff.Notes

Related Articles

Go Back