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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T23:26:06+00:00 2026-06-11T23:26:06+00:00

Im getting a row count from Mysql using php and i have a jquery

  • 0

Im getting a row count from Mysql using php and i have a jquery refresh which loads the rowcount into the div and displays it.
this works great!

Now i need to send an alert if the div’s value changes.
Ive tried the code below, but it doesnt detect any changes with the div.
Any ideas?

var auto_refresh = setInterval(
function ()
{
    $('#load_tweets').load('<?php echo base_url(); ?>index.php/login/count_users/');
}, 1000);

$('#load_tweets').change( function() {
notify('NEW JOB');
});
  • 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-06-11T23:26:07+00:00Added an answer on June 11, 2026 at 11:26 pm

    The jQuery .change() method works only for form fields.

    You can look at below answer on SO for alternative :

    jQuery watch div

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

Sidebar

Related Questions

As the title says, I have slickgrid getting/parsing JSON data from PHP, but while
Currently using a MySQL database Wanting to insert a new row into a table
i have try to develop one java app.here am getting information from mysql database.
I'm getting this error: Column count doesn't match value count at row 1 From
I have a problem getting all row values mobile numbers from the database and
So I'm getting this error: Error: Column count doesn't match value count at row
From the code below I am getting a cell value from the selected row
How would i set the itemdata from getting just the ID/key of a row,
I need some help in converting my script from using mysql to mysqli I
I have table data which looks like this id | keyword | count |

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.