Sara Chipps Sara Chipps - 6 months ago 14
jQuery Question

Return all page iFrames without id element

I tried this the intuitive way with both JavaScript and jQuery, with no dice for either.


got me:

Uncaught TypeError: Object # has no method


got me

Is an iframe an element? Is there a way to do this?

I'm trying to return all the page iframes.

Thank you.

Joe Joe

The function needs a lower case g like so document.getElementsByTagName('iframe') . Yes, iframe is a tag.