Bug Tracker

Opened 12 years ago

Closed 12 years ago

#3655 closed bug (invalid)

bugs in ie6

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

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 (2)

comment:1 in reply to:  description Changed 12 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 12 years ago by flesler

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.