Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8686431
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T22:50:50+00:00 2026-06-12T22:50:50+00:00

That’s really really weird. In the web app I did (look here ), thanks

  • 0

That’s really really weird.

In the web app I did (look here), thanks to cloudant guys for free hosting, I finally implemented Jquery UI Autocomplete widget.

I’m using backbone as a framework.

What is really really weird is that IT WORKS WITH EVERYTHING (even IE9!) except CHROME on apple OS.

What I have is that no dropdown list appears when clicking on the text input field.

Chrome on a different OS wokrs (e.g. on win7).

This is the code I use to implement the widget, I report her ejust for the sake of completeness, even if I suppose that that the problem I have DOES NOT depend on the code.

        $(select).on("click",function(){
            var valori=["ex1", "ex2", "ex3"];
            $(input).autocomplete({
                minLength: 0,
                source: valori,
                focus:function(){
                    },
                select:function(event, ui){

                    var categoria=$(select).attr('value');
                    var valore=ui.item.value;
                    self.model.set({category:categoria, value:valore});
                    //~ console.log(self.model);
                    return true;
                    }
                }).focus(function() {
            $(this).autocomplete("search", "");
                });
            });

—- UPDATE ——

I made a comparison btw chrome running on ubuntu and chrome running on macosx.

The result is that under ubuntu, the DOM element gets created (before closing the body tag), while under macosx the DOM element IS NOT created at all.

It looks like under macosx the onclick event is not catched.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T22:50:53+00:00Added an answer on June 12, 2026 at 10:50 pm

    I found a really helpful post here
    Why does select box on mac chrome doesn't respond to click event?

    Basically, it is a bug of chrome under OSX.

    As @JamWaffles explains in its answer,“IIRC, the click event works for s in Firefox, however does not work in Chrome. The best, most supported event is change.” and it turns out to be completely true!!

    So the working code for my webapp is:

    $(select).change(function(){//**************CHANGE AND NOT ON('CLICK', ...  *******
            var valori=["ex1", "ex2", "ex3"];
            $(input).autocomplete({
                minLength: 0,
                source: valori,
                focus:function(){
                    },
                select:function(event, ui){
    
                    var categoria=$(select).attr('value');
                    var valore=ui.item.value;
                    self.model.set({category:categoria, value:valore});
                    //~ console.log(self.model);
                    return true;
                    }
                }).focus(function() {
            $(this).autocomplete("search", "");
                });
            });
    

    Hope this answer is useful for somebody else.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

That sounds complicated, doesn't it... actually it's quite easy: I have a multi-language app
That's how I'm new in here on the website so it would be super
That's pretty much it. I'm using Nokogiri to scrape a web page what has
That might sound silly but can't do it myself :( Need your help guys.
That should be simple web site but with an editable tree. This tree will
That's a really awkward title :) I need to write a report that generates
That standard demos for ASP.NET MVC 3 web site user managements include the following
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
That's my question, and here's my example code. HTML: <a class=fancybox rel=group href=img1.jpg> <img
That's what I'm trying to do: I have a navigationController based app and many

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.