Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JQuery Selectors on Gmailr 'body' and 'canvas' objects #5

Open
JohnYangSam opened this issue Aug 13, 2012 · 0 comments
Open

JQuery Selectors on Gmailr 'body' and 'canvas' objects #5

JohnYangSam opened this issue Aug 13, 2012 · 0 comments

Comments

@JohnYangSam
Copy link
Contributor

In main.js:
When trying to access the Gmailr 'body' and 'canvas' objects, it seems that they are only responsive to JQuery calls $("tagname", [object]). Selecting by class or id doesn't seem to return any elements for known id's or classes. Standard Javascript DOM traversal also doesn't seem to work on the objects.

I have been able to reach the DOM using notations such as:

top.document.getElementsByTagName("iframe")[4].contentDocument;

I may just need to dig deeper into the library, but has anyone else found similar issues?

Also, this may take more digging, but I can't seem to find where top is explicitly declared (I was hoping maybe it could be used to add the support for standard Javascript DOM traversal to the Gmailr object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant