JavaScript

Currently Browsing Posts Tagged 'JavaScript'

QueryString in JavaScript

by Captain Database on Nov 11th in JavaScript, Regex, Web Development

Here’s a simple one: you want to access the querystring via JavaScript. It seems like it should be so easy to do, but unfortunately, it’s not. In fact, doing it well can require some pretty heavy lifting depending on your algorithm. Well, I figured out a pretty easy way to do it with regular expressions [...]

Toast Notifications Using jQuery

by Captain Database on Sep 6th in Mobile, Web Development

So there are often times when we need a quick UI cue to let the user know something. “Hey, you know that button you clicked? Well I took care of it. Just thought you should know. Stay Cool. Cheers, Your Browser.” You get the idea. Often times, a toast can be a great way of [...]

Auto Ellipsis in JavaScript

by Captain Database on Sep 3rd in Web Development

The other day, I had a request I’ve never had before: we want two elements with different widths and dynamic content to have identical height and have any content that gets cut off be denoted with an ellipsis. OK, on the surface, this doesn’t sound so bad — but wait, how are we going to [...]

Powered By Wordpress Designed By Ridgey