• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Need ideas for page refresh

Explorer ,
Apr 22, 2014 Apr 22, 2014

Copy link to clipboard

Copied

I have an application that I have built that scans in a drivers license and OCR's the data, archives the image etc. I have the coldfusion page set up so it refreshes every couple of seconds. When the ID is scanned with the scanner and the query row is generated I output all of the scanned data and image to the page. Everything is working great with all that. I have a small little issue though.

Since the initial page is refreshing every few seconds waiting for the scan to happen that means that the drop down nav links in the header are refreshing too. There is a reports menu in the navigation that has around 10 links in a drop down for different types of reports. If someone drops it down and is taking time looking at the report names the page will refresh and the menu closes.

Once the ID is scanned it no longer refreshes every couple of seconds, I disable it. So its only an issue until the ID is scanned.

Any ideas for a way to refresh the page looking for a query recordcount to be >= 1 but not refresh the header?

TOPICS
Advanced techniques

Views

366

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Apr 22, 2014 Apr 22, 2014

Copy link to clipboard

Copied

Could you use AJAX to refresh only a part of the page?

-Carl V.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 29, 2014 Apr 29, 2014

Copy link to clipboard

Copied

What would be the best way to do this?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Apr 29, 2014 Apr 29, 2014

Copy link to clipboard

Copied

LATEST

Look into jQuery and the .load() helper function.

-Carl V.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation