Solved

cfselect with multiple coming up undefined in internet explorer 10

Posted on 2014-12-16
6
50 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 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

What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

Question has a verified solution.

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

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?
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

726 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