Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / ColdFusion / Advanced Techniques / September 2007



Tip: Looking for answers? Try searching our database.

Element works in FF not IE

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
peterdoyle - 18 Sep 2007 14:02 GMT
Hi,

Have made the fatal mistake of getting the following code to work in Firefox
and then finding out one of the elements doesn't display correctly in IE.

Can someone let me know if there is a way of getting the code to work in both
or do I need to go back to the drawing board? The idea is that the results div
refreshes when a row in the grid is selected:

                                <cfform name="tableform" width="400" height="100%" method="post"
action="quote_new.cfm">
                                    <cflayout type="hbox">
                                        <cflayoutarea>
                                            <cfinput name="searchProduct"/>
                                            <cfselect query="QryShapes" name="searchShape" value="code"
display="shape"/>
                                            <cfinput type="button" name="searchBtn" value="Search"
onclick="ColdFusion.Grid.refresh('grid_Products', false);" />
                                            </br>
                                            </br>
                                            <cfgrid format="html" name="grid_Products" pagesize="10"
selectmode="row"

                                                    bind="cfc:live.getProducts({cfgridpage},{cfgridpagesize},{cfgridsor
tcolumn},{cfgridsortdirection},getSearchString(),getShapeString())">
                                                         <cfgridcolumn name="PRODUCT_DESC" header="Description"
width="200"/>
                                                         <cfgridcolumn name="PHYSICAL_STOCK" header="Qty" width="100"/>
                                                         <cfgridcolumn name="MAIN_SPEC_CODE_IN" header="Spec"
width="100" display="no" >
                                                         <cfgridcolumn name="SIZE_OR_DIMENSIONS" header="Size"
width="100" display="YES" >
                                            </cfgrid>
                                            </br>
                                            <cfinput type="Submit" name="detailBtn" value="Details for selected
item" />
                                        </cflayoutarea>
                                        <cflayoutarea>
                                                    <cfdiv id="results"
bind="url:Quote_details2.cfm?MAIN_SPEC_CODE_IN={tableform:grid_Products.MAIN_SPE
C_CODE_IN}&SIZE_OR_DIMENSIONS={tableform:grid_Products.SIZE_OR_DIMENSIONS}">
</cfdiv>
                                        </cflayoutarea>
                                    </cflayout>                               
                               
                                </cfform>

Any help appreciated.

Peter
GArlington - 18 Sep 2007 14:31 GMT
> Hi,
>
[quoted text clipped - 46 lines]
>
>  Peter

Most of the code above is CF (server side), what IE & FF display is
(X)HTML on client side.
The only code that can create a problem is <cflayout ...>
I was just wondering, did you consider checking CF docs BEFORE you ask
questions here? It seems that there is something like this described
in CF docs for <cflayout ...> tag on
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_j-l_01.ht
ml#3989007

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.