06May/13

Struts 2 Tutorial: Struts 2 Interceptors Tutorial with Example

Struts 2 Interceptors: Basics Struts2 provides very powerful mechanism of controlling a request using Interceptors. Interceptors are responsible for most of the request processing. They are invoked by the controller before andRead More…

04Apr/13

Simple Tutorial to Make a Chrome Extension that uses jQuery UI

Google Chrome has had extensions for a while now, but because the Linux client is a little farther behind I never got farther than the simple hello world tutorial. Today, however, IRead More…

04Apr/13

HTML5 JavaScript Pasting Image Data in Chrome

Send money for FREE Pasting anything other than simple text into the browser has historically been stupendously impossible. Until now… It’s a miracle, image data pasted into the browser can be retrievedRead More…

22Mar/13

Create your own Search Engine(Interface) using Google Custom Search API

Google Custom Search API are wonderful tools to create some awesome search engine like tools. Also if you want to add a search option to your website and customize the look andRead More…

10Dec/12

Display server IP address dynamically with the help of AJAX

In the following example we will see how to display server IP address dynamically with the help of AJAX, HTML , & PHP. SimpleAjax.html <html> <body> // <![CDATA[ javascript” > // ]]>Read More…

17Nov/12

Javascript function to check if a field input contains letters and numbers only

// Function to check letters and numbers function alphanumeric(inputtxt) {  var letterNumber = /^[0-9a-zA-Z]+$/;  if((inputtxt.value.match(letterNumber))   {    return true;   } else   {    alert(“message”);    return false;   }   } To get a string contains only letters and numbers (i.e. a-z, A-Z or 0-9) we use a regularRead More…