www.webdeveloper.com
Results 1 to 2 of 2

Thread: inspect element(DOM) inside iframe

Hybrid View

  1. #1
    Join Date
    Mar 2011
    Posts
    1

    Post inspect element(DOM) inside iframe

    I am using this js script for inspect DOM element. But it is not working when I am using iframe.

    Is this possible to inspect DOM element inside iframe using the following script(in iframe there is another site is shown).

    Please give me a suggestions. How can I solve this issue. I am not expert but have some knowledge about it.

    regards

    Ahsan Murshed

  2. #2
    Join Date
    Dec 2003
    Location
    Bucharest, ROMANIA
    Posts
    15,428
    Quote Originally Posted by ahsanm View Post
    I am using this js script for inspect DOM element. But it is not working when I am using iframe.

    Is this possible to inspect DOM element inside iframe using the following script(in iframe there is another site is shown).

    Please give me a suggestions. How can I solve this issue. I am not expert but have some knowledge about it.

    regards

    Ahsan Murshed
    Direct JavaScript cross-domain relationship is not possible. You need several combination of JavaScript, AJAX, and a server-side proxy codes to do that. Bot even so I am not sure that you may grab the DOM structure.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles