Hello!!! If someone could help me I'd really appreciate it..
I have a web page made with EXTJS with an iFrame.
The iFrame's source is an aspx page and has a variable like this: <var id="myVar" runat="server">var>
I need to access this variable from my page, wich, since it's EXTJS, is in javascript...
I guess the question here would be: How do I access an iFrame's source's variable from javascript??
thanks!!!
Get iFrame's source's variable
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Lor12 reputationPosted Jul 10, 2008, 11:08 AM EDT
GOT IT!!!!
so simple, yet so hard to find lol...
document.getElementById(
'FrameName').contentDocument.getElementById('VarName').innerHTML