Akchauhan - akchauhan.com - A K Chauhan's Blog

Latest News:

Simple jQuery Loader appear with every AJAX request and disappear after AJAX response 29 Jul 2013 | 11:56 am

Here is a very simple implementation of Loader pop-up which appear whenever we send AJAX request through jQuery and disappear when we get the response from server. The two important jQuery methods we ...

Change text box value in uppercase using jQuery 27 Sep 2011 | 12:15 pm

We can bind this functionality with text box KeyUp event. So, when type anything this code will change the text box value in uppercase with each keystroke. Code Snippet:-

jQuery get selected text from SELECT (or DROPDOWN) list box 9 Sep 2011 | 02:49 am

Most of the time in JavaScript we want to do following things with Select (or dropdown) list box. - Get the value of selected option - Get the text of selected option - Get the text of option using...

Extract/Import Object properties into Currect Symbol Table in PHP 2 Sep 2011 | 11:17 am

If we want to import an associative array into current symbol table then we can use extract function. This function treats associative array keys as variable name and values as variable values. But w...

Generate Random Alphanumeric Password in PHP 28 Aug 2011 | 05:59 pm

This is a very simple and one of the way to generate random alphanumeric password in PHP. Code Snippet:-

PHP Class for converting XML to Object and Object to XML 29 Jul 2011 | 06:53 am

Sometimes in PHP we need to convert PHP object into XML string and vice versa. Conversion of XML string to PHP object is pretty simple. You just need to call simplexml_load_string() function (availabl...

Generate Crontab (Cron jobs) syntax/command using this simple tool 27 Dec 2010 | 03:34 am

Create Crontab command using this simple tool Click here to Check it! Cron is a daemon used for scheduling tasks to be executed at a certain time. You can easily find great articles on Crontab or Cr...

How know Base Path of Drupal in JavaScript 17 May 2010 | 10:45 pm

Sometimes you want to know about the Base Path of your Drupal installation in JavaScript. You may want to know about this path for sending the AJAX request at correct URL relatively, load the image or...

Create Simple Carousel using jQuery 15 Feb 2010 | 04:42 pm

Carousel You can see the working demo here. Carousel is a way to present content in the form of slideshow on web page. Here I’m showing how easily you can create a horizontal carousel using jQuery. ...

Recently parsed news:

Recent searches: