Posts in category: Javascript

Laravel Framework | Javascript | Tutorials

Import SweetAlert2 into Laravel with NPM

SweetAlert2 is a great package for user-friendly alerts, normally I install by adding in script tags...

David Carr


PHP & MySQL | Javascript | HTML | Tutorials

Latitude and Longitude with Google Maps

Google Maps allows using its service to get map coordinates....

David Carr


Javascript | HTML | Tutorials

Dealing with posting large number of checkboxes

When you have a form with lots of checkboxes, you may hit a limit to how many you can post. I had th...

David Carr


Javascript | Tutorials

A Brief Introduction to Gulp

Gulp is a frontend task manager. In the simplest of terms, it is a tool which saves you from perform...

Dan Sherwood


Javascript | Tutorials

jQuery autocomplete on new element

jQuery’s autocomplete plugin is perfect for filling in forms with suggestions as you type in a...

David Carr


Javascript | Tutorials

Calculate gross profit and gross margin javascript calculator

In this tutorial, I’m building a calculator that works out the gross profit percent, gross mar...

David Carr


Javascript | CSS | Tutorials

Fixed header on scroll

A common web trend is to allow a static header stick to the top of the page when scrolling the page....

David Carr


Javascript | Tutorials

Autoscroll page with jQuery

There are times when it’s really useful for a webpage to scroll up and down automatically. For...

David Carr


Javascript

How to submit a form with JavaScript by clicking a link

When working with forms, to submit them input type=’submit’ or button type=’submit...

David Carr


Demos | Javascript | HTML | Tutorials

Dynamically set iframe properties with jQuery

Using jQuery it’s possible to pass properties to set the src, width and height of an iframe fr...

David Carr


Demos | Javascript | Tutorials

Duplicate form sections with jQuery

When working with forms it can be incredibly useful to duplicate parts of the form, for instance whe...

David Carr


Javascript | HTML | CSS | Tutorials | Tools | Development

Speed up your website using minify

One of the factors to consider when improving your search engine ranking is page speed. Reducing the...

David Carr


Javascript | HTML | Tutorials

Add hour to datetimepicker

When working with dates and forms I like to use datepickers, these allow the users to use a calendar...

David Carr


PHP & MySQL | Javascript | Tutorials

Get longitude and latitude from an address with PHP and Google Maps API

Getting longitude and latitude from an address used to be a fairly complex task a few years ago, tha...

David Carr


PHP & MySQL | Javascript | Tutorials | Social Media | Development

Display Tweets from Twitter for API 1.1

Twitter as of 11th of June 2013 has turned off access to its API version 1.0. All requests now need...

David Carr


Support my work by donating with PayPal.

Subscribe to my newsletter

Subscribe and get my books and product announcements.

© 2009 - 2021 DC Blog. All code MIT license. All rights reserved.