Bug Tracker

Modify

Ticket #3655 (closed bug: invalid)

Opened 4 years ago

Last modified 4 years ago

bugs in ie6

Reported by: corrox Owned by: flesler
Priority: major Milestone: 1.3
Component: unfiled Version: 1.2.6
Keywords: Cc:
Blocking: Blocked by:

Description

my english is pool

 http://house2me.cn/UM/Content/House/Rent/Add.htm in this page,when focus the dorpdownlist behind '建筑年代' and type the year, the selection of the dropdownlist should change to the value what you inputed. it runs well in firefox,opera,ie7,but not in ie6... in ie 6,when i type '1986'/'2005'/...etc,it runs well, but when i type '2002',it goes to 2003... and when i type '2001', it goes to '1950' ......

var ctr = $('#' + ctrid); var p = inputNum(n); var opt = ctr.find("option[@value='" + p + "']"); if (opt.length == 0) {

opt = ctr.find("option[@value='" + p + "']"); if (opt.length == 0) {

lastInputNum = 0; return;

}

} ctr.find('option').removeAttr('selected'); opt.attr('selected', 'selected');

it goes to '1950' when p='2001'

Change History

comment:1 in reply to: ↑ description Changed 4 years ago by corrox

Replying to corrox:

my english is pool

 http://house2me.cn/UM/Content/House/Rent/Add.htm in this page,when focus the dorpdownlist behind '建筑年代' and type the year, the selection of the dropdownlist should change to the value what you inputed. it runs well in firefox,opera,ie7,but not in ie6... in ie 6,when i type '1986'/'2005'/...etc,it runs well, but when i type '2002',it goes to 2003... and when i type '2001', it goes to '1950' ......

var ctr = $('#' + ctrid); var p = inputNum(n); var opt = ctr.find("option[@value='" + p + "']"); if (opt.length == 0) {

opt = ctr.find("option[@value='" + p + "']"); if (opt.length == 0) {

lastInputNum = 0; return;

}

} ctr.find('option').removeAttr('selected'); opt.attr('selected', 'selected');

it goes to '1950' when p='2001'

i change 'keydown' into 'keyup' and the problem has seloved

comment:2 Changed 4 years ago by flesler

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

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.