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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T16:43:48+00:00 2026-05-27T16:43:48+00:00

I have contact list which contains (checkbox,firstname,lastname,phone). I am creating this list using html

  • 0

I have contact list which contains (checkbox,firstname,lastname,phone). I am creating this list using html divs, and I calling the data from the database as you can see below ($res_contactlist) and put each value in the appropriate div.

This process is not practical when refreshing the page, it makes the page very slow.

I heard that jQuery can help a lot in performing this process. Would you please help me how to implement this logic in jQuery?

This is the code where I am drawing the divs with data from DB.

<?
if ($res_contactslist) {
while($contacts_row = mysql_fetch_assoc($res_contactslist)) {
print'<div class="headings_01">
<div class="checkbox_01"><input name="contact_id" id="selectedcontacts" type="checkbox" value="'.$contacts_row['contact_id'].'" style="margin-top:0px;" /></div>
<div class="firstname_01" name="fname">|'.$contacts_row['contact_id'].'|'.$contacts_row['firstname'].'</div>
<div class="lastname_01" name="lname">'.$contacts_row['lastname'].'</div>
<div class="group_01">G1</div>
<div class="mobile_nmbr_01" name="phone" id="phone">'.$contacts_row['phone'].'</div>
</div>';

    }
}
  • 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-27T16:43:49+00:00Added an answer on May 27, 2026 at 4:43 pm

    If the problem is that you need to refresh all the page, you will need to create a service in your server that does all the logic and returns something like a json of what you want to show and then, via jquery call it and manipulate the html with the new data.

    This tutorial will be very useful for you: http://net.tutsplus.com/tutorials/javascript-ajax/submit-a-form-without-page-refresh-using-jquery/

    Hope it helps

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

Sidebar

Related Questions

I have this contact list which I'm building using LINQ to SQL. The query
I have made an application which calls the phone's contact list but i want
I have a 'Contact' class with two properties : firstName and lastName. When I
I have a web server which contains a list of interesting locations. These are
I have a custom class Contact . I am trying to bind a List<Contact>
I have a Contact entity that exposes a navigation proeprty for child Phone entities.
i have a contact form sending itself to me by email using ASP classic,
I have a contact form that can be hidden using .slideToggle() but I want
I have implemented an adapter for my ListView which extends BaseAdapter. My list items
I have to make own contact list, where i want to put section headers.

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.