2

i need to get iframe content in javascript or jquery, but main problem is that iframe src is other domain web site, how can i do it?

0

1 Answer 1

3

You can't access to the iframe if it hosted in another domain because of security. Just forget about it.

Same problem

Sign up to request clarification or add additional context in comments.

2 Comments

on my page there is big iframe in which user visiting other domain website. when user click button on my page i need to make screenshot of iframe contents, to do this i need full iframe html content, any ideas?
screenshot? You mean print the iframe?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.