Code Monkey home page Code Monkey logo

jquery_plugins's People

Contributors

flyingmana avatar joshaven avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jquery_plugins's Issues

sorting function messes up result list

If for example you have a list of "ABC1", "ABC2", "ABC3". And the query you entered is "ABC", the results will be ordered 3 2 1 instead of 1 2 3 (I assume you give back 1 2 3).
This is because the indexOf('ABC') is always '0'.
This case is valid for the 'contains' algorithm.

I solved this by adding an option parameter "Don't sort".

Not blanking associated hidden field

If you select some item form a converted select it will set the value of the hidden original field to the value of the selected option (as desired)... however if you delete the data in the quickselect then the value of the hidden field remains the same as it was previously (not as desired). This is happening on a quickselect that is set as must match with an included blank option.

slowing and causing errors with simular matches

If two options that are about 13 characters long are matching from the beginning but different at the end then the result takes a substantial amount of time... When the number of continuous matching characters approach 20 then the browser will ask you want to stop or continue waiting for the script.

Message from firefox:
A script on this page may be busy, or it may have stopped responding. You can stop the script now, open the script in the debugger, or let the script continue.
Script: {path_to_js}/quicksilver.js:92

Errors in the readme

The quotes $(‘input#city_name_field’) --> ’ has to be replaced with normal quotes '.

Error in the Syntax (url has to be replaced with ajax):
Wrong: $(‘input#city_name_field’).quickselect({url:‘/ajax/cities.json’});
Right: $(‘input#city_name_field’).quickselect({ajax:‘/ajax/cities.json’});

IE7 CSS Div Results bug

First of all NICE WORK !!

The results DIV should be hidden on load of the page but in IE7 it is displayed. It goes away when you start typing. Doesn't happen in Google Chrome 4.0.249.89

Screenshots: http://img38.imageshack.us/g/fase3ieversion.jpg/

FYI: sample page doesn't load either, crashes since you try to load the plugin before the DOM is loaded so placing the javascript code at the bottom of the page solves that error

minChar/delay issue

If you don't type the number of chars required by minChar within the delay time it will delete what you typed.

Ubearably slow performance of fuzzy-string

I've tried using quickselect with fuzzy-string.js converting a <select> dropdown to a quickselect element. Everything works superb with few characters. However, when typing a longer string I encounter unbearably slow performance.

The performance keeps getting slower with each added character, until it reaches the point where the browser decides the script is stuck. This seems to be (depending on the environment of course) somewhere at 6-10 typed characters. I have tried this with two different computers, and on the latest Firefox, Chrome and IE. Tried using jQuery version 1.3.2 and 1.5 (latest).

My data in the form is actual data of about 100 organizations, with names ranging from 20 to 40 characters in UTF-8. I consider this a pretty regular (or even quite small) use case, considering the point of quickselect is to help user find the right option from a large selection.

Test demonstration of the problem: http://ilarikajaste.fi/dist/quickselect-problem/

Upgrade to support .on() ?

I'm using your plugin to build some autocomplete fields in a form. I'm also using the Appendo plugin to dynamically add rows to my form. However, an autocomplete field, when duplicated, doesn't keep the autocomplete functionality. I'd need to manually re-apply the quickselect() method.

I think this can be fixed using the .live() -- and now .on() -- binders in jQuery. Any thought of an update?

Thanks!

onblur does select an item

When I select an item in the dropdown list and I click OUTSIDE of it, I do not expect it to select the selected item (which was selected by hovering over it).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.