Create bookmark
Moodle JavaScript Cookbook
Over 50 recipes for making your Moodle system more dynamic and responsive with JavaScript
Notes
Please login to add notes
- Cover
- Copyright
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Table of Contents
- Preface
- + Chapter 1: Combining Moodle and JavaScript
- + Chapter 2: Moodle and Yahoo! User Interface Library (YUI)
-
+
Chapter 3: Moodle Forms Validation
- Introduction
- Adding a required field
- Adding a field with a maximum length
- Adding a field with a minimum length
- Adding a field length within in a specified range
- Adding a valid e-mail address field
- Adding custom validation with a Regular Expression
- Adding a field that accepts only alphabetic characters
- Adding a field that accepts only
- Adding a field that accepts only numeric characters
- Rejecting punctuation characters
- Rejecting input without a leading zero
- Comparing with another field
- Adding a custom JavaScript validation
- + Chapter 4: Manipulating Data with YUI 3
- + Chapter 5: Working with Data Tables
- + Chapter 6: Enhancing Page Elements
- + Chapter 7: Advanced Layout Techniques
- + Chapter 8: Animating Components
- + Chapter 9: Integrating External Libraries
- Index
This is a cookbook that contains a list of recipes explaining step-by-step how to use JavaScript in Moodle. The first two chapters concentrate on the basics of how to start working with JavaScript and the YUI while the later chapters show how to use these techniques as a basis for implementing more complete functionality. This book is aimed at developers and administrators comfortable with customizing Moodle with the use of plugin modules, themes, and patches who want to make their site more dynamic. If you have prior knowledge of HTML, PHP, and CSS and a good working knowledge of the underlying structure of Moodle, then this book is for you. No prior experience with JavaScript is needed.
Test the closed alpha on paperc.com
Book Details
Authors
Categories
Computers > Programming Languages > JavaScript
Publishers
Publication year : 2011
License: All rights reserved ©
Times read: 37

