Bug Tracker

Modify

Ticket #1255 (closed bug: wontfix)

Opened 6 years ago

Last modified 5 years ago

Plugins/autocompleter : Focus before the page load

Reported by: dytryh Owned by: stefan
Priority: major Milestone: 1.1.3
Component: interface Version: 1.1.2
Keywords: autocompleter Cc:
Blocking: Blocked by:

Description

When an input bind to autocompleter script whith jquery.ready() have the focus before the page load was complete, the subject and lastvalue variable are undefined because there are defined with focus event.

jQuery(this) .attr('autocomplete', 'off') .focus(function(){

jQuery.iAuto.subject = this; jQuery.iAuto.lastValue = this.value;

}) .keypress(jQuery.iAuto.protect) .keyup(jQuery.iAuto.autocomplete)

And after the page load, if user input a text and jQuery.iAuto.autocomplete is trigger, autocompleter plugin trigger an error.

The error message is different according to the context.

In Firefox 2.0.0.3.

Change History

comment:1 Changed 5 years ago by scott.gonzal

  • Status changed from new to closed
  • Resolution set to wontfix

Interface is no longer supported; consider switching to  jQuery UI.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.