Posts tagged with "javascript"

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...

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...

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...

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...

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...