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 6169513
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T22:52:13+00:00 2026-05-23T22:52:13+00:00

I still consider myself a beginner when it comes to JQUERY+Coldfusion…so I’d like to

  • 0

I still consider myself a beginner when it comes to JQUERY+Coldfusion…so I’d like to ask for help/ direction on this.

I’m trying to make a search page of items that acts similar to gmail. There is a delete button and basically it asynchronously deletes an item from the database and should update the page asynchronously (removing said item from list). I’ve gotten kind of close as to figuring out how to do this. However, now I’m rethinking how I should go about this.

Currently, my code updates the database and then re-runs the query from a CFC. I’m starting to wonder if I should not do this. Would it be easier to convert the query to a JSON format and have jquery/javascript remove things from the what the client sees and then also run a deletion query?

If JSON seems to be the answer can someone point me to a good place to learn how to manipulate JSON? I’ve looked at a few examples and most of it looks like built in json parsing functions, then the rest is just getting it in the format you need/want.

  • 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-23T22:52:16+00:00Added an answer on May 23, 2026 at 10:52 pm

    The way we handle this is simple:

    • If someone deletes something via the UI we make a Ajax call to delete that object / row / whatever in the database.
    • The javascript callback from the Ajax call if successful will then remove that element from the UI.

    So esentially you are keeping the UI and the database in sync. This is an efficient way as it ensures you are only running essential queries against the database (e.g. delete v delete / read all again). It is also snappier for the user.

    Hope that helps!

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

Sidebar

Related Questions

ALthough I've had to dabble in shell scripting and commands, I still consider myself
I'd consider myself a reasonable standard CSS/XHTML chap but I'm pretty baffled by this.
I still consider myself a novice with javascript...so be gentle :) Is there a
I consider myself still pretty new to the TDD scene. But find that no
still new to the world of linq, and i need some help flatening a
still trying to find where i would use the yield keyword in a real
I consider myself a very experienced SQL person. But I'm failing to do these
Greetings, everyone. I consider myself to be an intermediate developer, but, to be candid,
Consider something like... template<typename T> class Vector { ... bool operator==( const Vector<float> &rhs
I was wondering how valuable open-source projects are to learn from? I still consider

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.