Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

cfselect with multiple coming up undefined in internet explorer 10

Posted on 2014-12-16
6
41 Views
Last Modified: 2016-05-10
Hello,

I have a cfselect box that works in IE 8, but not IE 10.  It is pretty straightforward.  When I select the items in internet explorer 8 or the current firefox version, selections turn blue and the form submits fine.

When I open the page in IE 10, the selections turn grey instead of blue and when I submit the form, the error is that Department_List is undefined.  

Is this an IE 10 security setting or something?

If I set any of the elements as pre-selected, the form works.  I just cannot change the selection in IE 10.

<cfselect name = "Department_List" size = "10" multiple="YES">
    <cfloop query="qryDept">
            <option value="#Department#">#Department#</option>
            </cfloop>
    </cfselect>

Thanks for any help!!!
-Bonnie
0
Comment
Question by:Bonnie_K
  • 2
6 Comments
 
LVL 25

Expert Comment

by:James Rodgers
ID: 40504498
it would be helpful to have access to a working version, not just the code block provided
0
 
LVL 52

Accepted Solution

by:
_agx_ earned 500 total points
ID: 40508068
(Tip, CF questions get more attention when tagged with ColdFusion Markup Language)
      
The simple example below worked fine with IE8 and IE11, Please try it with IE10. If it works, then there's something more to your code than we're aware of. So please post the full form - or at least enough to reproduce the issue.

<cfdump var="#FORM#">
     
<cfform>
   <cfselect name = "Department_List" size = "10" multiple="YES">
      <option value="1">Department 1</option>
      <option value="2">Department 2</option>
      <option value="3">Department 3</option>
      <option value="4">Department 4</option>
      <option value="5">Department 5</option>
   </cfselect>
   <input type="submit">
</cfform>

Open in new window

0
 

Author Comment

by:Bonnie_K
ID: 40508076
OK - thanks - and I did not see that tag option.  I will note it for the future.

I will test  your code and then send my whole page if needed.

Thanks again,
Bonnie
0
 
LVL 52

Expert Comment

by:_agx_
ID: 41581531
I was not able to reproduce the behavior, so I suspect it was either a localized issue or caused by other code we cannot see.  As there is no clear solution, I think this thread should be deleted instead.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question