Solved

iframe vs Ajax LOAD

Posted on 2013-12-20
3
1,506 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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

733 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