Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

iframe vs Ajax LOAD

Posted on 2013-12-20
3
Medium Priority
?
1,700 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 44

Accepted Solution

by:
Chris Stanyon earned 668 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 83

Assisted Solution

by:leakim971
leakim971 earned 668 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 664 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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
The first step to building an amazing About page is to figure out what you want the page to say about your company. You then must grab the attention of the reader, boast a bit, tell a story and let others brag about you. With a little bit of thought…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

810 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