dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: is there any way to reach the elements inside of the object tag?

Hybrid View

  1. #1
    Join Date
    Apr 2013
    Posts
    44

    Question is there any way to reach the elements inside of the object tag?

    hi,
    i have a web site and it has object tags in it.the object tag consists another website.i'm trying to do that,reaching the embedded page,which
    identifying object tag and make some processes according to main page and embedded page.
    i actually want to do that,i create a button on mainpage.but i want to appear that button,only user clicks inside some of the embedded site's button.

    is there any way to do this?

  2. #2
    Join Date
    Nov 2007
    Posts
    425
    nope!
    that would fall under "cross site scripting" and is not available to the parent window.

    For example...
    if you have an iframe with a src that is the same domain as the page, you can access the elements inside the iframe.
    if you change the src to some other domain, you no longer have access to the elements inside the iframe.

  3. #3
    Join Date
    Apr 2013
    Posts
    44
    if i change object tag to iframe,then can i reach the page inside of the iframe?

Thread Information

Users Browsing this Thread

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

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