[Project_owners] Browser element

manish deora manish.deora at gmail.com
Sun Mar 8 08:25:48 PDT 2009


That variable is directly accessible in doument.
Regards,
Manish Deora


On Sun, Mar 8, 2009 at 8:09 PM, joe ertaba <belaviyo at gmail.com> wrote:

> Hi
>
> I use Browser element to show a local html file
>
> my html file
> ...
> <script type="text/javascript">
> var ad = "fff";
> </script>
> ....
>
>
> <browser type="content" id="Br" src="...." flex="1"/>
>
>
> Now I want to call a variable ('ad') in html
>
> It should be something like this:
>
> document.getElementById("Br).contentDocument.da;
>
> But it doesn't work, can anybody help?
> Joe
>
> _______________________________________________
> Project_owners mailing list
> Project_owners at mozdev.org
> https://www.mozdev.org/mailman/listinfo/project_owners
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mozdev.org/pipermail/project_owners/attachments/20090308/e20e15ca/attachment.html>


More information about the Project_owners mailing list