logoBrett Rawlins

#javascript

5 Posts

Formatting dates in Gatsby

The problem My blog post dates are stored in this format: "YYYY-MM-DD", but I wanted to display them in a different format. My first…

Trigger onSelect from today button in Datepicker

The jQuery UI Datepicker widget is a handy way to add a calendar control to a web page. It's pretty easy to implement and offers a lot of…

Using Twitter's typeahead.js

I decided to try out Twitter's typeahead.js the other day. It was bit confusing at first because I kept finding examples and tutorials that…

Display an RSS feed using the Google Feed API

Some time you may want to grab an RSS feed from another site and display it on yours. Here's how you can do it using the Google Feed API.…

Passing checkbox (boolean) values in ajax

Problem: I was reminded today that JavaScript boolean values don't translate well to PHP. Here's an example. Say you have a form with a…