27/11/2012 by Nitesh

How to transform text from one case to another using javascript

Friends, This post will describe converting text from one case to another using javascript. In general programming, we need to convert a text to the following cases – Lower Case Upper Case Title Case We will see the conversion one by one below – To convert a text into lowercase using Javascript function toLowerCase(str) {…

Continue Reading »

24/08/2012 by Nitesh

Simple Date validation using Regex in Javascript

Many of us find difficulties while validating the date field in JavaScript. This is a simple example where I will explain you the basics of validating a date field using JavaScript. So, follow the steps below and get date validated on your form in few minutes: In your JavaScript section of the HTML page, define…

Continue Reading »

1 2