James Clarke

By day I work in Redmond, WA as an engineer on the Windows platform team. By night I enjoy learning new tools and technologies. This blog will cover both MSFT and non-MSFT related topics. All opinions expressed here are mine own.

Fancy style test reloaded

16 Nov 2018 » blogging

Let’s try some fancy stuff

<input id="id_price" type="number" min=0 onkeypress="return isNumber(event)"/>
<script type="text/javascript">
function isNumber(evt) {
    evt = (evt) ? evt : window.event;
    var charCode = (evt.which) ? evt.which : evt.keyCode;
    if (charCode > 31 && (charCode < 48 || charCode > 57)) {
        return false;
    }
    return true;
}
</script>

and

  • -r //recursive Download
  • --no-parent // Dont download something from the parent directory