Language: JavaScript
Function to Return Document Object from an IFRAME
function(a){if(a=$(typeof a=="string"?"#"+a:a).get(0)){a=a.contentWindow||a.a;if(a.document)a=a.document;return a}};
Tags:
Description:
Require jQuery. The function can accept the iframe Id (string), iframe DOM object, or jQuery object for the iframe.
Report Abuse
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search

