?
Solved

cfselect with multiple coming up undefined in internet explorer 10

Posted on 2014-12-16
6
Medium Priority
?
56 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
[X]
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
  • 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 2000 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

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

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

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
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 …
Suggested Courses

771 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