Solved

cfselect with multiple coming up undefined in internet explorer 10

Posted on 2014-12-16
6
35 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
Comment Utility
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
Comment Utility
(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
Comment Utility
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_
Comment Utility
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 Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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.
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

744 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now