Iframe wierd one

Last post 03-07-2014, 4:40 AM by AndyFel. 2 replies.
Sort Posts: Previous Next
  •  03-04-2014, 11:34 AM 80016

    Iframe wierd one

    Hi

     

    I have a weird problem which I don't really expect an answer to, but thought I would ask anyway as you might have an idea!

     

    I am using jquery to popup a dialog which has an iframe in. This iframe has the source set to various urls depending on what is being selected and changed. So it might goto a page which allows us to edit multiple links or a page to select images or a page to use your editor to alter text.

     

    When I load up pages in the iframe with input text boxes these are editable everything works fine. However once I have loaded the page with your editor then load up the same previous page with input text boxes I cannot edit them. I cannot click on them or set focus to them in any way. However all links and buttons work.

     

    Is there anything you can think of that the editor might be doing to set input boxes uneditable in an iframe?  

     

    If you do I am hoping I can reset whatever it might be.....

    Hmmm I might add as well that I am having this problem mainly in IE8 which unfortunately is a high proportion of users of the site!

    Hope you have some ideas.... 

  •  03-05-2014, 8:03 AM 80019 in reply to 80016

    Re: Iframe wierd one

    hi AndyFel,

     

    Can you create an example page which can reproduce this issue and send it to [email protected]? So we can test it too. Or send your editor page url and the full steps to reproduce this issue.

     

    Regards,

     

    Ken 

  •  03-07-2014, 4:40 AM 80036 in reply to 80019

    Re: Iframe wierd one

     Hi

     

    Thanks for the offer, fortunately I managed to force focus using some javascript and this seemed to fix the problem. I added the following to the page with the iframe in the document ready function, I am using jquery.

     

      $("#ifrPopup").load(function () { $("#ifrPopup").contents().find("input[type=text]").first().focus(); });

     

    This iframe is used for multiple forms and is placed into a jquery dialog to make it look as tho they are all in the same page, saved a lot of recoding.

     

    So all is OK!

     

    Thanks 

View as RSS news feed in XML