Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Modal Window showing the dropdown of parent window

 
vatsala ven
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a jsp where I have various dropdowns,radio buttons,text fields etc. For a particular dropdown's onchange event I'm exposing a div element containing various elements(dropdowns,radio buttons,text fields ). When the modal window is being shown Im basically graying out the parent window .The issue is when the modal window is being shown the dropdowns of the parent window still shows up on modal window.All the other elements hide except for the dropdowns.



Can some one please let me know why the dropdown of the parent window shows on the modal window when the other elemnts don't show
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64632
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please properly indent your code, and please remove conversational text from the code blocks. Thanks.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64632
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is this in IE6?
 
vatsala ven
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault wrote:Is this in IE6?

Yes unfortunately our firm uses IE6.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64632
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is a well-known IE6 bug. Some solutions that have been used:
  • Hide the dropdowns while the "modal dialog" is displayed.
  • Use an iframe to contain the body of the "dialog".


  • P.S. Tell your powers that be that IE6 is deprecated and even Microsoft no longer supports it. Time to move on...
     
    vatsala ven
    Greenhorn
    Posts: 6
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Bear Bibeault wrote:This is a well-known IE6 bug. Some solutions that have been used:
  • Hide the dropdowns while the "modal dialog" is displayed.
  • Use an iframe to contain the body of the "dialog".


  • P.S. Tell your powers that be that IE6 is deprecated and even Microsoft no longer supports it. Time to move on...


    I actually used the 1st approach and it worked.But i do see some slowness in the rendering of the dropdowns.So was wondering if there was another solution.
    I could try the second suggestion.So do i out the entrire modal window div inside an iframe or how does it work.If you could give me some reference links that would be great too.
    Thanks for your help.
     
    Bear Bibeault
    Author and ninkuma
    Marshal
    Pie
    Posts: 64632
    86
    IntelliJ IDE Java jQuery Mac Mac OS X
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    There are likely examples in earlier posts in this forum as this is not the first time that this issue has been addressed.
     
    pranjal mishra
    Greenhorn
    Posts: 21
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Bear Bibeault wrote:This is a well-known IE6 bug. Some solutions that have been used:
  • Hide the dropdowns while the "modal dialog" is displayed.
  • Use an iframe to contain the body of the "dialog".


  • P.S. Tell your powers that be that IE6 is deprecated and even Microsoft no longer supports it. Time to move on...


    Yeah the iframe part worked for me.
    Thanks.
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic