View your Shopping CartFrequently Asked QuestionsEmail Us
Home | About Us | Contact Us
SmartWebby.com provides best web design & web programming services globally
We specialize in Rapid Web Design, ASP.net, ASP and PHP web programmingBest Web Design, Best Web Programming, Global Service Provider - Dependable Professionals to build your website right!

Check All/Clear All links for dynamic check-boxes

In forms when using check boxes for a list of records that is generated dynamically (example: display of messages in your yahoo or hotmail inbox) you might want a simple feature of checking or clearing all the check boxes related to those records before deleting or moving. Use this simple script to do just so.

Example

Example of Check All/ Clear All links for dynamically created check boxes

    Check All   Clear All

Name Email ID  Phone Address
Anita Sudhakar     anita@smartwebby.com  2452352555  307, Park Avenue
Sean T.P     stp@hotmail.com  5223523523  52, Alpine Apts
Priscilla David     prisdav76@yahoo.com  5437637676   No.211, Lien Towers
Robbie James     robbie_james@aol.com  2453465743  22, Oak Street


Cut and Paste Code

Cut 'n' paste code for the above Example

Java-script Code
HTML Code
Instructions

Explanation of the Code

The JavaScript has two functions: