cfdiv working in FF and Safari but does not show up in IE

Posted by JS on Stack Overflow See other posts from Stack Overflow or by JS
Published on 2010-04-17T21:25:33Z Indexed on 2010/04/17 21:33 UTC
Read the original article Hit count: 179

Filed under:

Within a form I have a button that launches a cfwindow, then presents a search screen for the user to make a selection. Once selection is made, the cfwindow closes and the selected content shows in the main page by being bound to a cfdiv. This all works fine in FF but the cfdiv doesn't show at all in IE. In IE, the cfwindow works, the select works, but then no bound page. I have tried setting bindonload and that made no difference (and I need it to be true if there is content that is pulled in via a query when it loads). All I have been able to find so far regarding this issue is setting bindonload to false and putting the cfdiv outside of the form but that's not possible in my current design.

Here is a snippet which is inside of a larger form (and all necessary tags are cfimported).

<td class="left" style="white-space:nowrap;">
                            <cfoutput>#n#</cfoutput>.&nbsp;<cfinput type="button" value="Select" name="x#n#Select#i#" onClick="ColdFusion.Window.create('x#n#Select#i#', 'Exercise Lookup', 'xSelect/xSelect.cfm?xNameVar=x#n#S#i#&window=x#n#Select#i#&workout=workout#i#', {x:100,y:100,height:500,width:720,modal:true,closable:true,draggable:true,resizable:true,center:true,initshow:true,minheight:200,minwidth:200 })" />
                            &nbsp;      
                            <cfdiv id="x#n#S#i#" tagName="x#n#S#i#" bind="url:xSelect/x.cfm"></cfdiv>
                            <cfinput type="hidden" name="x#n#s#i#" value="#n#">
                        </td>

Thanks for any help.

© Stack Overflow or respective owner

Related posts about coldfusion