• About
  • Privacy Policy
  • Utilities
Darchuk.NET

HTML

Angular date picker with NgbDatePicker

June 14, 2019 by Robert Leave a Comment

DatePickers are pretty much a dime a dozen these days, but if you are already using a framework that already has a DatePicker, it makes sense to use that. via GIPHY ng-bootstrap ng-bootstrap is a package of Angular components that are built using Bootstrap 4.  So, if you’re already using Bootstrap and Angular, it could … [Read more…]

Posted in: Angular, CSS, HTML, JavaScript, Typescript Tagged: Angular, Bootstrap, HTML, JavaScript, Typescript

C# Parsing HTML with regular expressions

May 3, 2019 by Robert Leave a Comment

Regular expressions are notoriously difficult.  But its just like programming.  Any errors or bugs produced end up being the fault of the programmer.  Good intentions give way to some small overlooked issue. via GIPHY Parsing HTML There are a lot of cool utilities for parsing HTML in C#.  One of the most popular one is … [Read more…]

Posted in: C#, HTML Tagged: C#, HTML, Regular Expressions

Angular Transition Animations

October 26, 2018 by Robert Leave a Comment

For some reason I’ve procrastinated looking in to transition animations in Angular.  via GIPHY Transitions are visually pleasing, and it can give your application a nice feel that makes your users think “Wow, this is a nice site.” Subtle animations are the best – the ones you don’t really notice unless you’re looking for them.  … [Read more…]

Posted in: Angular, JavaScript, Typescript, Web Development Tagged: Angular, Animations, CSS, HTML, JavaScript, Typescript

Angular 2+: Binding HTML Select ngModel to a number

April 20, 2018 by Robert Leave a Comment

I hate magic things.  In programming, I mean.  I try to avoid magic strings and magic numbers as much as possible because I can barely remember the thing I typed five seconds ago, let alone something that you have to maybe type five hours from now.  So, I tend to use a lot of enums … [Read more…]

Posted in: Angular, HTML, Typescript, Web Development Tagged: Angular, HTML, JavaScript, Option, Select, Typescript, Web Development

Removing non-printable characters in JavaScript

October 13, 2017 by Robert Leave a Comment

A quick look at the Unicode table or the ASCII character table proves that not all characters are meant for us humans to consume.  Some of them are control characters – things that tell the computer what to do.  Most of the time they go unnoticed, but sometimes they can cause problems, especially if you’re … [Read more…]

Posted in: HTML, JavaScript Tagged: ASCII, HTML, JavaScript, Unicode

Getting the text out of HTML select options

October 6, 2017 by Robert Leave a Comment

The HTML select tag is a dropdown.  The elements of a select are defined by the option tag.  The option tag also has the ability to contain values, which may be used to store useful information such as an index. However, what if you don’t need the index, but rather the text being displayed of … [Read more…]

Posted in: HTML, JavaScript Tagged: Dropdown, HTML, JavaScript, Option, Select

Recent Posts

  • Allowing trailing JSON commas in ASP.NET Core 3
  • YADNC3JSG–Yet Another .NET Core 3.0 JSON Serializer Gotcha
  • Logging in a .NET Core 3 SignalR client
  • .NET Core 3 unit testing project sdk
  • .NET Core 3.0 Upgrade–New JSON Serializer Gotchas

Recent Comments

  1. Robert on C# Setting Socket Keep-Alive
  2. Oliver Schramm on C# Setting Socket Keep-Alive
  3. John Anderson on Waiting for a keypress asynchronously in a C# console app
  4. Ronald Garlit on .NET Core 3 unit testing project sdk
  5. Ronald Garlit on .NET Core 3 unit testing project sdk

Copyright © 2025 Darchuk.NET.

Omega WordPress Theme by ThemeHall