Skip to main content

Search and Top Navigation

#10591 closed bug (duplicate)

Opened September 09, 2014 11:51AM UTC

Closed September 09, 2014 12:22PM UTC

Last modified September 10, 2014 12:23PM UTC

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

Attachments (0)
Change History (6)

Changed September 09, 2014 12:00PM UTC by PeterB comment:1

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

Changed September 09, 2014 12:22PM UTC by scottgonzalez comment:2

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.

Changed September 09, 2014 02:13PM UTC by PeterB comment:3

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?

Changed September 09, 2014 07:17PM UTC by tj.vantoll comment:4

Replying to [comment:3 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.

Changed September 10, 2014 07:45AM UTC by PeterB comment:5

What is a CDN?

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

Changed September 10, 2014 12:23PM UTC by tj.vantoll comment:6

Replying to [comment:5 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.