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

Thread: how get the src from an iframe with jquery?

  1. #1
    Join Date
    May 2013
    Posts
    5

    how get the src from an iframe with jquery?

    hi, so just i ask how i can get the src from an iframe with jquery, well, when i try to get $('#idFrame').attr('src') get me this error:
    Error: Permission denied to access property 'toString'

    thanks

  2. #2
    Join Date
    Mar 2011
    Posts
    1,157
    Any reason you can't just insert:

    document.getElementByID('idFrame').src

    and have done with it?

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