Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Aug 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    cross domain issue

    Hi,

    I was in need of a dealer locator programma to integrate into my company's website. After a lot of browsing, I've found a jquery plugin that did exactly what I wanted.

    As I don't have complete access to my company's website (I can only access it via a cms, and I can't link to remote scripts), I decided to integrate this jquery plugin via an iframe. The iframe is hosted on a website (IIS6) where I do have full access to.

    The problem I'm having is only with Internet Explorer (Firefox and Chrome are fine).

    Every version of Internet Explorer tested seems to have problems with executing the form inside the iframe.

    I'm not a true web programmer, but after a lot of reading on the web, it looks like my problem had to do with cross domain scripting. So I implemented a workaround I've found on the web, i.e. using some javascript to activate a same origin policy.

    The problem is: it seems to work "sometimes". I have no idea if it's something to do with the cache of the browser, but on IE it seems to work sometimes, and sometimes it doesn't.

    I asked my colleagues to test from their home internet connection, and after activating the document.domain setting both on the 'mother' url and on the 'iframe' url, it suddenly did work for them.

    But now on my own pc using IE9, it won't work anymore, and aside from changing the url, nothing changed on my part. (both domains should resolve to unit4venice.be, which should overcome any cross domain problem I think.

    Using the developer tools of IE, It can see that if refuses access to scripts:

    SCRIPT5: Access is denied.
    jquery-1.10.1.min.js, line 4 character 12122
    SCRIPT5009: 'jQuery' is undefined
    jquery.storelocator.js, line 8 character 2
    SCRIPT5009: '$' is undefined
    indexnl.html, line 41 character 9

    Would some knowledgeable soul please have a look and check why it won't work on IE in an Iframe ?

    This is the url: http://www.unit4venice.be/verdelers/verdeler-lijst
    the frame url is: http://support.unit4venice.be/verdeler/indexnl.html

    (enter a postal code such as 8000 and click on submit to test). On IE nothing happens.

  • #2
    New to the CF scene
    Join Date
    Aug 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    What you want to say actually from this post.....???

  • #3
    New to the CF scene
    Join Date
    Aug 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    If you click on the link provided, enter a postal code and click on submit, nothing happens in IE ,but Chrome and Firefox are ok.

    so my question, what's causing the page not to work with IE in some cases...


  •  

    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
    •