This function adds comma to make it look like money value. function addComma(val) { var… Read More… Continue reading Cool function to convert integer value into money value (Adds comma after 3 digits from right)
Showing navigation menu to specific roles or users
These days Drupal is my life and spending all the research and work on it… Read More… Continue reading Showing navigation menu to specific roles or users
Logging in a user into Drupal using PHP code.
These days I am working on a Drupal project, where I am supposed to manage… Read More… Continue reading Logging in a user into Drupal using PHP code.
Anonymous comment problem in Drupal
Today I came across a unique problem. I was working on a Drupal website for… Read More… Continue reading Anonymous comment problem in Drupal
A mysterious JavaScript keyword
One day, I came across to know a strange keyword of JavaScript, which I believe… Read More… Continue reading A mysterious JavaScript keyword
5-steps for creating and running a Java Servlet program
This tutorial gives step-by-step guide for creating and running a servlet program on windows platform.… Read More… Continue reading 5-steps for creating and running a Java Servlet program
Getting a good salary hike in the time of slowdown
It may be hard for a lot of people to even save their job in… Read More… Continue reading Getting a good salary hike in the time of slowdown
Remarkable developments on web this year
This is going to be a great year for the web, as we are seeing… Read More… Continue reading Remarkable developments on web this year
Code for adding JS Files at runtime and then executing Functions from currently loaded file.
/*——-This works for IE and non IE as well—————-*/ var oScript = document.createElement(“script”); oScript.src =… Read More… Continue reading Code for adding JS Files at runtime and then executing Functions from currently loaded file.
Handling logout (back button) for secure pages in asp .net (C#)
It is a common problem in programming that if a user is logged in to… Read More… Continue reading Handling logout (back button) for secure pages in asp .net (C#)