• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1782
  • Last Modified:

iframe vs Ajax LOAD

So what is better for performance of loading table data AJAX load or using a iframe and load the data in a iframe
0
stargateatlantis
Asked:
stargateatlantis
3 Solutions
 
Chris StanyonCommented:
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
 
leakim971PluritechnicianCommented:
+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
 
Sar1973Commented:
The iFrame requires often to use an event handler and listener, but works good when is well configured.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now