Skip to main content

Derek

Member since Jul 23, 2010

Recent Blog Comments By Derek

  • Default To The Numeric, Email, And URL Keyboards On The iPhone

    Posted on Sep 21, 2012 at 6:04 PM

    Apple went and FURTHER messed this up with iOS 6. I had a hack to determine if the browser is iPhone/iPad, and text inputs had an attribute (numkey="1"), and it would change the input type to "number" which would default the keyboard to the numeric one. That was working ok. No... read more »

  • Default To The Numeric, Email, And URL Keyboards On The iPhone

    Posted on Oct 19, 2011 at 12:30 PM

    Apple went and messed this up with iOS 5. Now if you have input type=number, it automatically adds commas to the value as thousands separators, and restricts text to numeric characters only. That is fine for truly numeric values, but I was using this to default to the full numeric keyboard (with s... read more »

  • Default To The Numeric, Email, And URL Keyboards On The iPhone

    Posted on Jul 28, 2011 at 8:56 AM

    I found that this is handled very inconsistently across browsers. I loved that Apple supported input type=number by displaying the numbers and symbols keyboard (not the telephone keypad). However using type=number has undesired effects in Google Chrome, MS/Mac Safari, and likely others once they s... read more »

  • Default To The Numeric, Email, And URL Keyboards On The iPhone

    Posted on Jul 23, 2010 at 1:31 PM

    Thanks for the tip, tried it and worked great! ...until I tried to use it on fields that I've spiced up with items such as a jQuery plug-in -- addClear() ( http://github.com/skorecky/Add-Clear ) And also for a calendar text input that triggers a visual calendar (wouldn't want to use it there anywa... read more »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel