Solved

Jquery that checks with the server if new record is inserted in the database

Posted on 2013-05-28
2
352 Views
Last Modified: 2013-05-29
My Classic ASP page displays the records from SQL Server table. Is there a way that the page gets auto-refreshed only when a new record is inserted into the database?
This meta tag refreshes the page every minute, but I would like the page refreshed only when a new record was entered:
<meta http-equiv="refresh" content="60">

Thank you for your help.
0
Comment
Question by:romsom
2 Comments
 
LVL 15

Accepted Solution

by:
Jagadishwor Dulal earned 500 total points
Comment Utility
Yes you can use ajax request. It doesnot refresh page but every certain interval will make request and load data when get new.
See reference:
http://www.w3schools.com/jquery/jquery_ajax_intro.asp
0
 

Author Closing Comment

by:romsom
Comment Utility
Thank you very much.
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Paper tearing animation 6 38
jQuery or CSS 9 37
how to resize preview image 4 28
Javascript - output csv file 18 17
The Confluence of Individual Knowledge and the Collective Intelligence At this writing (summer 2013) the term API (http://dictionary.reference.com/browse/API?s=t) has made its way into the popular lexicon of the English language.  A few years ago, …
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now