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
Solved

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

Posted on 2013-05-28
2
356 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
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

PROBLEM: The other day I was working on adding an ajax request to a webpage that already had a dialog box on the page.  The dialog box was using relative positioning to be positioned next to a form field I had on the page.  Everything was working…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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…

861 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