Solved

iframe vs Ajax LOAD

Posted on 2013-12-20
3
1,481 Views
Last Modified: 2013-12-22
So what is better for performance of loading table data AJAX load or using a iframe and load the data in a iframe
0
Comment
Question by:stargateatlantis
3 Comments
 
LVL 43

Accepted Solution

by:
Chris Stanyon earned 167 total points
ID: 39732659
Haven't run tests but I would guess AJAX. With ajax, you send a bit of data and only pull back the html or data that you want. The content of an iFrame has to be a fully valid HTML document.

I'd go with AJAX - it's the modern way to do things!
0
 
LVL 82

Assisted Solution

by:leakim971
leakim971 earned 167 total points
ID: 39732737
+1 for Ajax
I don' see any reason to do that with an iFrame
With the iFrame you're going to have DOM manipulation where you just need to receive data with Ajax.
0
 
LVL 9

Assisted Solution

by:Sar1973
Sar1973 earned 166 total points
ID: 39733743
The iFrame requires often to use an event handler and listener, but works good when is well configured.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone 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

Suggested Solutions

Title # Comments Views Activity
How to reload page and grab querystring 2 21
Head to not include on scroll 4 23
Output to HTML in powershell 3 25
send email part1 9 23
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

809 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