Giter Club home page Giter Club logo

clearable_text_field's People

Contributors

ono avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

clearable_text_field's Issues

Text field looses focus in IE7 & IE8 on first time

Hi,
Just started to use the plugin v0.3.2 and have come across a problem with IE7 & IE8.
The first time a text field with clearableTextField is used, when then 1st character is typed the text field loses focus.
Futher uses are fine till page is reloaded.

Works fine in Firefox 4, Chrome 10, Safari 5 and Opera 11

I created a very very simple page to rule out anything else on the page and still the same.
Sample code on Pastebin: http://pastebin.com/a0S1L6VW

Cheers,
Mike

Webkit + clearableTextField + other plugins?

I had an issue using this plugin in combination with some other jQuery plugins on the same input field. (Using 1.4, tablesorter_filter, and a hint plugin for text field hints). A second clear button appeared in a sibling text field when I began typing into the first field, also clicking the clear button would cause the browser to hang requiring me to force-quit Safari.

My workaround is to bind the clearableTextField event to only happen on keyup, so changing line 14 to:

  $(this).bind('keyup', onSomethingChanged);

I imagine the plugins involved get confused in handling change() events and start an infinite loop. This issue could just as likely be caused by one of the other plugins, but I just wanted to give a heads up for anyone else experiencing the issue of a possible workaround.

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.