Bug Tracker

Opened 10 years ago

Closed 10 years ago

#12997 closed bug (notabug)

Values not read correctly from input

Reported by: [email protected] Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.8.3
Keywords: Cc:
Blocked by: Blocking:

Description

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 10 years ago by [email protected]

http://jsbin.com/welcome/56548

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

comment:2 Changed 10 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.