Home » JavaScript (page 10)


Scheduling jobs on Node.js with node-schedule

Batching is a great part of todays software development. The business world runs on batch from bank statements to promotion emails. Node.js has some good libraries for such cases. Node Schedule is a light cron like scheduler for node. npm install node-schedule In case your are used to cron and the cron expression format, it will be pretty easy for ...

Read More »

Presenting with reveal.js

Presentations are sort of an unavoidable feature of both student and professional life. They bring many challenges with them that can catch you by surprise. I found myself in a need to do a presentation for my teammates to showcase a library I spent the last weeks developing. I was faced with the sad reality of opening up PowerPoint and ...

Read More »

Javascript Table Example

Tables are one of the things that we use extensively in our everyday life for a number of reasons. They are easy to understand and help us manipulate our data by putting everything into rows and columns. If you’re keen on notebooks, you just draw the tables in them. If you want them on your website? You code them in, ...

Read More »

Seriate: The Glue Between SQL Server and Node.js

An example Node.js application which connects to a SQL server and serves up data via HTTP endpoints. Before leaving my last client, I was asked if it was possible for Node.js to connect to Microsoft’s SQL Server. The reasoning behind this was that the company wanted to move away from a pure Microsoft stack because of the cost and try ...

Read More »

Javascript Textbox Example

However convenient, forms have been a nightmare for developers for a long time, because they had a very important and difficult requirement to fulfill: transferring data from the client to the server. When Javascript came to be a regular in the playground, there was one ability which made it completely establish itself: the ability to completely sidestep this “drawback” of ...

Read More »

Javascript Onclick Example

The aim of this example is to show you how to handle the onclick event. A JavaScript can be executed when an event occurs, like when a user clicks on an HTML element. To execute code when a user clicks on an element, we can add JavaScript code to an HTML onclick event attribute . The onclick event fires on ...

Read More »

jQuery Select Option Example

The aim of this example is to explain and use various jQuery selectors and methods related to manipulation the select dropdown element of HTML. The <select> element is used to create a drop-down list. The <option> tags inside the element define the available options in the list. These basic HTML elements are the ones we’ll apply special selector and/or methods ...

Read More »

Promises in AngularJS. Part II. $q service.

I have already blogged about Promises in AngularJS 1.x. This is the second part which describes the Angular’s $q service. The $q service can be used in two different ways. The first way mimics the Q library for creating and composing asynchronous promises in JavaScript. The second way mimics the ECMAScript 2015 (ES6) style. Let’s begin with the first way. ...

Read More »

Javascript Textarea Example

If you have applied somewhere online, or asked for a particular thing using the contact forms of the websites, you will most probably have seen those use a text-area field for the argumentation. It is a highly convenient feature of Javascript, and if you now want to add it to your own website, I would completely agree. But how can ...

Read More »

Want to take your WEB dev skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • PHP Programming Cookbook
  • jQuery Programming Cookbook
  • Bootstrap Programming Cookbook
  • Building WEB Apps with Node.js
  • CSS Programming Cookbook
  • HTML5 Programming Cookbook
  • AngularJS Programming Cookbook