Bug Tracker

Opened 8 years ago

Closed 8 years ago

#12997 closed bug (notabug)

Values not read correctly from input

Reported by: netlorzakawin@… Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.8.3
Keywords: Cc:
Blocked by: Blocking:


Quite a considerable bug if you ask me...

(Tried to recreate the bug in jsbin and it would only run the jQuery in the edit mode)

what I can see jQuery will read the numbers off, left to right.

If the number at the very left is lower than the first number on the left of the second input, e.g. (inp1 = 5, inp2 = 44) then it believes inp1 is the higher number, however this is not the case.

Change History (2)

comment:1 Changed 8 years ago by netlorzakawin@…


Here is the recreation. Couldn't get it working at first, but now it works as it should

comment:2 Changed 8 years ago by scottgonzalez

Resolution: notabug
Status: newclosed

You're comparing strings, not numbers. This is unrelated to jQuery, please ask for help on StackOverflow.

Note: See TracTickets for help on using tickets.