Tag: javascript

Easily manipulate time using javascript
December 9th, 2016 Javascript 1,869 views

Calculating time has been a headache for developers from long time. Specially when you have to do it using javascript, it’s definitely a nightmare. But moment.js has made it very easy now. Moment.js is used to parse, validate, manipulate, and display dates in JavaScript. You can download it from here http://momentjs.com/ Recently I got a […]

Read more  
Get last day of month from specific date
September 12th, 2015 Javascript 1,628 views

Let’s say we have given any date and we want to find out on what day of week the Month ends using Javascript. E.g. 09-12-2015 (12th sept 2015), the last day of this month is Wednesday. So our script should return 3 which is Wednesday counting from Sunday as 0, Monday as 1, Tuesday as 2 & so […]

Read more  
How I handle disabled javascript
August 13th, 2015 Javascript 1,650 views

This time I would like to share something technical. As this is a very easy trick for hackers to break the website security or find out website vulnerability. e.g. You have build a membership registration form for a website. You have put some form validation using javascript or any jquery plugin. That will definitely help us […]

Read more