Archive for the ‘tutorial’ Category

Page 1 of 812345»...Last »

jQuery plugin: word-counter for textarea

Sorry friends on the way of move to new home I've been lost from the blog as I didn't have internet connection for few last weeks. Now, I'm back and I try to be regular as much as I can. Inspired from the new feature of wordpress 2.6.x which displays word count of each post, I've developed jQuery plugin to display word-count of Textarea. Please note that it is word count plugin not character counter. Full story

Table row manipulation using jQuery JavaScript

In a jQuery tutorial, I've shown how to display different color in alternate row of table using jQuery. This time I've come up with advanced version of same tutorial where you can add different color in alternate row of table whereas you can display a different color when mouse moves over each row of table furthermore you can assign a different color to table row when mouse is clicked in the table row. Full story

Changing textbox value from dropdown list using Ajax and PHP

Yesterday Tarquin macey asked me how can we change the value of the textbox based using Ajax and PHP based on the changing value of the dropdown list.Today, I've come up with a solution from him.In this post, you'll see how to get the currency code of a country from PHP using Ajax and this currency code will replace the value of textbox each time the dropdown list changes. Full story

Move an object on mouse wheel scroll event using JavaScript

Today, I've come along with another post where you'll see how to move a object within web page when you scroll the mouse wheel using JavaScript.In this example, when you move the mouse wheel the object i.e div moves upwards or downwards depending upon the scrolling direction the mouse wheel. Now, let's look at the detail of this tutorial in JavaScript. Full story

How to display pop-up message on mouse clicked position using jQuery

Yesterday, my friend Sujit asked me how can we get the mouse clicked position and display the pop-up message in that mouse clicked position using jQuery.Today, I've come up with the tutorial for the solution of this problem. In this tutorial, you'll see how to display the pop-up message in mouse clicked position using jQuery. When you click the mouse in any position of document, the pop-up message gets displayed with the mouse position around the middle part of the pop-up message. Full story
Page 1 of 812345»...Last »
Copyright © 2009 Roshan Bhattarai's Blog. All rights reserved.
Powered by WordPress.org, Custom Theme and ComFi.com Calling Card Company.