Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>It looks like your problem is a combination of things.</p> <p>I've created this updated fiddle to help display the problems: <a href="http://jsfiddle.net/KmMBd/10/" rel="nofollow">http://jsfiddle.net/KmMBd/10/</a></p> <p>In firefox and IE, Chris is exactly right. Firefox doesn't support the "number" type, so it always treats it as "text". If you load the fiddle, and hit alert it will display "text". Obviously this is incorrect, but firefox doesn't know how to handle the "number" type. If you inspect the input box in firebug, you will see that it does in fact say type="number", and just alerts wrong. This behavior will stay true no matter what kind of toggles or slidetoggles you do.</p> <p>In chrome it looks like a bug. Given that HTML5 is not an official standard yet, this is understandable, and is a wonderful opportunity for a bug report. It looks like Chrome doesn't render the number type correctly when it redraws it. In the fiddle, if you slideToggle 1, and then slideToggle 2, the number spinner will come back. This is what makes me think it is a problem with redrawing it - something with child/parent stuff, I bet. This link has info about reporting bugs in Chrome: <a href="http://www.google.com/support/forum/p/Chrome/thread?tid=2a2135b6f50fd524&amp;hl=en" rel="nofollow">Report Chrome Bugs</a></p> <p>In safari, the issue is a bit different. The number type is supported, but not actually handled. In short, this means that Safari recognizes that the input is different from a "text" box, but doesn't actually do anything with that information. Essentially, treat Safari the same as Firefox/IE.</p> <p>In short, I guess the true answer to your issue is to avoid number inputs right now. They're not supported in most browsers (just one), and in the ones where they are supported (really, just Chrome) they are buggy. Wait a while - HTML5 will be awesome soon :)</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload