treehouse : what would you like to learn today?
Web Design Web Development iOS Development

Bert

  • Domain Name Question

    @Paulie_D Ok. I see your point. But who is entering a complete URL these days? I if was looking for a specific app called appname for my phone I would type the name in google. I believe appname.mobi in this case has an advantage over getappname.com
    Comment by Bert February 5 permalink
  • Restricted the input field

    You're welcome. Glad I could help.
    Comment by Bert February 5 permalink
  • Domain Name Question

    Mostly just for America, right? Google in my country results in google.nl (i'm Dutch). In Germany google.de etc. etc. The top level domain name isn't that important I think. The name before the dot is much more crucial. Google will figure …
    Comment by Bert February 5 permalink
  • Domain Name Question

    @TheDoc @joshuanhibbert Why? Any reason why a .com is better than .mobi? I really don't see why getappname.com has an advantage over getappname.mobi Just curious.
    Comment by Bert February 5 permalink
  • Restricted the input field

    Or without jQuery: http://codepen.io/begetolo/pen/pGntl (found this on http://stackoverflow.com/questions/2808184/restricting-input-to-textbox-allowing-only-numbers-and-decimal-point)
    Comment by Bert February 5 permalink
  • Restricted the input field

    Sorry again. Look at this: http://codepen.io/begetolo/pen/jvldz
    Comment by Bert February 5 permalink
  • Restricted the input field

    Formatting on CSS-tricks is a bit tricky sorry: HTML: jQuery: $('.numbers').keypress(function(key) { if(key.charCode < 48 || key.charCode > 57) return false; });
    Comment by Bert February 5 permalink
  • Restricted the input field

    Ok. Then jQuery: $('.numbers').keypress(function(key) { if(key.charCode < 48 || key.charCode > 57) return false; });
    Comment by Bert February 5 permalink
  • Restricted the input field

    Hi, HTML5 can do this: http://www.w3schools.com/html/html5_form_input_types.asp And then validating the field after a submit and respond accordingly for browsers that don't support this (yet). Just like you would do to check if a valid email ad…
    Comment by Bert February 5 permalink