Skip to main content

Bug Tracker

Side navigation

#3655 closed bug (invalid)

Opened November 27, 2008 07:17AM UTC

Closed November 27, 2008 01:55PM UTC

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'

Attachments (0)
Change History (2)

Changed November 27, 2008 07:36AM UTC by corrox comment:1

Replying to [ticket:3655 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

Changed November 27, 2008 01:55PM UTC by flesler comment:2

resolution: → invalid
status: newclosed