Table of Contents
Reply to the discussion (solution)
Home Web Front-end HTML Tutorial IE9 cannot click to select the scroll bar or drop-down box_html/css_WEB-ITnose

IE9 cannot click to select the scroll bar or drop-down box_html/css_WEB-ITnose

Jun 24, 2016 pm 12:03 PM
ie9 drop down box click scroll bar selected

As the title...

An interface pops up on a page in IE9. There are several drop-down boxes in it. When it pops up for the first time, clicking on the drop-down box can display the options inside, but it will appear again after closing. After the interface pops up, the selection cannot pop up when clicked. It must be double-clicked to pop up. The same is true for the scroll bar on the right. Close the pop-up interface and refresh the page. When the interface pops up again, you can click to activate the drop-down box (scroll bar). However, when the interface pops up again for the second time, it becomes double-click to activate it. What is the problem?
Enabling Compatibility View did not change the situation, nor did canceling protected mode, nor did setting IE accelerated graphics. How to solve this problem?


Reply to the discussion (solution)

Post a test code. It is convenient for everyone to reproduce the problem.

The code is as follows:

   //添加用户    $("#addUser").click(function () {        var addSystemManagerDlg = $.dialog({            id: 'addSystemManagerDlg',            title: '添加用户',            content: 'url:User/Create',            lock: true,            width: 400,            height: 300        });
Copy after login



<style>    input[type=text],input[type=password] {        width: 200px;    }    .Statu,.Sex    {        padding: 5px;        cursor: pointer;        border: 1px solid #8fb7d6;        background-color: #DFFFFF;           }    .t    {        border: 1px solid #4b7402;        background-color: #5f9402;        color:#fff;            }</style>
Copy after login



@using (Ajax.BeginForm(new AjaxOptions { OnComplete = "Completed" })){    @Html.ValidationSummary(true)  <div class="editor-item">                <div class="editor-label">编号:</div>                <div class="editor-field">                    @Html.TextBoxFor(model => model.Code)                     @Html.ValidationMessageFor(model => model.Code)                </div>                <br/>                  <div class="editor-label">姓名:</div>                <div class="editor-field">                    @Html.TextBoxFor(model => model.Name)                     @Html.ValidationMessageFor(model => model.Name)                </div>                <br/>      <div class="editor-label">密码:</div>                <div class="editor-field">                    @Html.PasswordFor(model => model.Password)                     @Html.ValidationMessageFor(model => model.Password)                </div>                <br/>        <div class="editor-label">邮箱:</div>                <div class="editor-field">                    @Html.TextBoxFor(model => model.Email)                     @Html.ValidationMessageFor(model => model.Email)                </div>                <br/>          <div class="editor-label">电话:</div>                <div class="editor-field">                    @Html.TextBoxFor(model => model.Phone)                     @Html.ValidationMessageFor(model => model.Phone)                </div>                <br/>         <div class="editor-label">性别:</div>                <div class="editor-field">                    <span class="Sex" name="0"> 男 </span><span class="Sex" name="1" style="margin-left:22px;"> 女 </span>                      <label style="color:red;visibility:hidden" class="Sex_Propty">性别不能为空</label>                    @Html.HiddenFor(model => model.Sex)                     @Html.ValidationMessageFor(model => model.Sex)                </div>      <br/>         <div class="editor-label">状态:</div>                <div class="editor-field">                    <span class="Statu" name="0">正常</span><span class="Statu" name="1" style="margin-left:18px;">冻结</span>                      <label style="color:red;visibility:hidden" class="Statu_Propty">性别不能为空</label>                     @Html.HiddenFor(model => model.Statu)                     @Html.ValidationMessageFor(model => model.Statu)                </div>                <br/>            </div>}
Copy after login

Can you? For a pure front-end, such as HTML, you can copy the HTML code that loads the data in the browser's debugging tool.

Just like the code you gave now, I don’t even see where the drop-down box is. . . .

Can you give me a pure front-end, such as the HTML part? You can copy the HTML code that loads the data in the browser's debugging tool.

Just like the code you gave now, I don’t even see where the drop-down box is. . . .



Well... some codes may not be convenient to post... but the scripts and styles of the pop-up interface and the general content are basically posted...
The drop-down box is not posted. .But there should be scroll bars when it pops up like this... The situation is the same...

In other words, you should sort this out slowly yourself. If you don't want to spend time writing a small test code, who can Will you spend time writing code to reproduce a problem?

Sometimes, the problem is originally a problem with the code, and others may not have the same problem.

In other words, you should sort this out slowly yourself. If you don’t want to spend time writing a small test code yourself, who will spend time writing code to reproduce a problem?

Sometimes, the problem is originally a problem with the code, and others may not have the same problem.



I have also thought about the code problem, but this does not happen in IE8, Google and Firefox, only IE9 and IE10. I haven't tested IE11 yet. I guess the situation is similar. It's inconvenient to post too many codes, so I'll sort it out myself. Thanks!

Has the poster solved it? I also have this problem, and the My97DatePicker calendar control cannot be used normally. Many controls have problems in IE9. IE9
Is there a problem? ?
Now XP is no longer supported. You have to change to WIN7. You can install multiple versions of IE8, IE9, IE10, IE11 on WIN7. When writing a program, you need to consider more compatibility issues, and the program is difficult to write.

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot Article Tags

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to enable or disable DLNA on Windows 11 How to enable or disable DLNA on Windows 11 Sep 28, 2023 pm 11:05 PM

How to enable or disable DLNA on Windows 11

Windows 11 Guide: How to adjust the display resolution in Hyper-V Windows 11 Guide: How to adjust the display resolution in Hyper-V Sep 23, 2023 pm 08:25 PM

Windows 11 Guide: How to adjust the display resolution in Hyper-V

Solution: Your organization requires you to change your PIN Solution: Your organization requires you to change your PIN Oct 04, 2023 pm 05:45 PM

Solution: Your organization requires you to change your PIN

How to show folder size on Windows 11? How to show folder size on Windows 11? Sep 23, 2023 pm 06:13 PM

How to show folder size on Windows 11?

How to properly calibrate your Xbox One controller on Windows 11 How to properly calibrate your Xbox One controller on Windows 11 Sep 21, 2023 pm 09:09 PM

How to properly calibrate your Xbox One controller on Windows 11

Fix: Taskbar thumbnail preview disappears too quickly on Windows 11 Fix: Taskbar thumbnail preview disappears too quickly on Windows 11 Sep 14, 2023 pm 03:33 PM

Fix: Taskbar thumbnail preview disappears too quickly on Windows 11

How to fix device disabled (error code 22) in Windows 10/11 How to fix device disabled (error code 22) in Windows 10/11 Aug 04, 2023 pm 03:17 PM

How to fix device disabled (error code 22) in Windows 10/11

How to Completely Remove Unwanted Display Languages ​​on Windows 11 How to Completely Remove Unwanted Display Languages ​​on Windows 11 Sep 24, 2023 pm 04:25 PM

How to Completely Remove Unwanted Display Languages ​​on Windows 11

See all articles