Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2013-05-28
2
Medium Priority
?
361 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 15

Accepted Solution

by:
Jagadishwor Dulal earned 2000 total points
ID: 39203299
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
ID: 39205139
Thank you very much.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are a couple ways to attach a JavaScript function to dynamically created elements. You can make a new script for each element as it’s created or you can use delegation. Delegation allows a single script that is added at page creation to mat…
This article discusses how to implement server side field validation and display customized error messages to the client.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. 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.: (CODE)
Suggested Courses

715 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