Ticket #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: | ||
| 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
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

Replying to corrox:
i change 'keydown' into 'keyup' and the problem has seloved