Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#10591 closed bug (duplicate)

Cannot mouse-click to select from a jQuery UI autocomplete menu in IE8

Reported by: PeterB Owned by:
Priority: minor Milestone: none
Component: ui.autocomplete Version: 1.11.1
Keywords: Cc:
Blocked by: Blocking:

Description

You cannot mouse-click to select from a jQuery UI autocomplete menu (within a jQuery UI modal dialog) in Internet Explorer 8.

To demonstrate:

  • unzip the attached TAS-edit.zip into a folder (I assume I will be able to attach it to this report once I have created it).
  • Open the TAS.htm file in IE8
  • Click in one of the input fields
  • Type three characters: sss

this loads a hardwired list of options into the autocomplete menu

  • mouse-click one of them

On a modern browser (Firefox, IE10, Chrome) you get an alert popup telling you what you clicked on.

In IE8 the menu just closes without running the autocompleteselect function (line 34 in TAS_files/Site.js).

Note: the code in TAS-edit.zip uses 1.11.0 but I have tried using 1.11.1 and it has the same problem.

The problem did not happen using 1.8.16

Change History (6)

comment:1 Changed 5 years ago by PeterB

So - I cannot find a way to attach my zip file. Am I missing something?

comment:2 Changed 5 years ago by Scott González

Resolution: duplicate
Status: newclosed

Duplicate of #10527.
> I cannot find a way to attach my zip file. Am I missing something?

We don't accept zip files. The red box says to use jsFiddle or jsbin to provide test cases.

comment:3 Changed 5 years ago by PeterB

Thanks for that. I look forward to 1.11.2 eagerly!

Yes I saw the red box but could not figure out how to load html and JS into it that also needs jQuery and jQuery UI.

I am probably being dim, but is there any documentation on how to do so anywhere?

comment:4 in reply to:  3 Changed 5 years ago by tj.vantoll

Replying to PeterB:

Thanks for that. I look forward to 1.11.2 eagerly!

Yes I saw the red box but could not figure out how to load html and JS into it that also needs jQuery and jQuery UI.

I am probably being dim, but is there any documentation on how to do so anywhere?

You can use the “External Resources” pane on the left to enter external files. So you could add references to jQuery and jQuery UI from a CDN there.

comment:5 Changed 5 years ago by PeterB

What is a CDN?

I work in a corporation, so cannot include references to any files hosted here.

comment:6 in reply to:  5 Changed 5 years ago by tj.vantoll

Replying to PeterB:

What is a CDN?

I work in a corporation, so cannot include references to any files hosted here.

http://en.wikipedia.org/wiki/Content_delivery_network

I'm referring to hosted versions of jQuery and jQuery UI, for example:

<link href="http://code.jquery.com/ui/1.11.1/themes/smoothness/jquery-ui.css" rel="stylesheet">
<script src="http://code.jquery.com/jquery-1.11.1.js"></script>
<script src="http://code.jquery.com/ui/1.11.1/jquery-ui.js"></script>

If you need further help please use the jQuery forums or Stack Overflow.

Note: See TracTickets for help on using tickets.