Pagination with Jquery and php(Tracked)

The Pagination tutorial have 6 files.

config.php pagination.php pagination_data.php jquery.js jquery_pagination_plugin.js pagination.css

Create Database

CREATE TABLE IF NOT EXISTS `tutorial` ( `id` int(11) NOT NULL auto_increment, `tutorial_name` varchar(255) collate latin1_general_ci NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci AUTO_INCREMENT=15 ; -- -- Dumping data for table `tutorial` -- INSERT INTO `tutorial` (`id`, `tutorial_name`) VALUES (1, 'php tutorial'), (2, 'mysql tutorial'), (3, 'linux tutorial'), (4, 'html tutorial'), (5, 'seo tutorial'), (6, 'joomla tutorial'), (7, 'unix tutorial'), (8, 'all in one tutorial'), (9, 'web tutorial'), (10, 'java tutorial'), (11, 'J2ee tutorial'), (12, 'css tutorial'), (13, 'jquery tutorial'), (14, 'mootools

Posted On: 10 Dec, 2010 Continue...
Multiple Checkbox Validation(Tracked)

How to validate the checkbox using Jquery?

In the HTML form have multiple chekcbox in same using html array element. That time we will use three types of checkbox validation for checked or not.
Checkbox validation has three types.

Checkbox validation using Id Checkbox validation using name Checkbox validation using div tag

Example

Checkbox validation using Id

function validateId() { var selector_checked = $("input[@id=chkBox]:checked").length; alert(selector_checked); if (selector_checked == 0) { return false; } else if (selector_checked == 0) { return false; } else { return true; } }

Checkbox validation using Name

function

Posted On: 10 Dec, 2010 Continue...
Select all and unselect all checkbox(Tracked)

How to select all and unselect all checkbox using Jquery

Select all and unselect all using one checkbox. Seethe example code

\n \n function selectAllCheckbox(divname, obj) { if (obj.checked) {\n $("#" + divname + " input[type='checkbox']").attr('checked', true); } else { $("#" + divname + " input[type='checkbox']").attr('checked', false);\n } }

Posted On: 10 Dec, 2010 Continue...
drag and drop using jquery(Tracked)

Drag and drop using jquery plugin

This Jquery UI plugin is used for div drag and drop or image drag and drop
First download this packup
Download Jquery UI

Posted On: 10 Dec, 2010 Continue...
form validation in jquery(Tracked)

How to form validation using jquery plugin?

First put the jquery library file and download the validation plugin.
Click here for downloading
And include the jquery validate file.

* { font-family: Verdana; font-size: 96%; } label { width: 10em; float: left; } label.error { float: none; color: red; padding-left: .5em; vertical-align: top; } p { clear: both; } .submit { margin-left: 12em; } em { font-weight: bold; padding-right: 1em; vertical-align: top; } $(document).ready(function(){ $("#commentForm").validate(); }); A simple comment form with submit validation and default messages

Name *

E-Mail *

URL  

Posted On: 10 Dec, 2010 Continue...

 < 1 2