Solved

iframe vs Ajax LOAD

Posted on 2013-12-20
3
1,402 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 42

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This article discusses the difference between strict equality operator and equality operator in JavaScript. The Need: Because JavaScript performs an implicit type conversion when performing comparisons, we have to take this into account when wri…
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…

747 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

9 Experts available now in Live!

Get 1:1 Help Now