Limit search to available items
Book Cover
E-book
Author Hole, Alastair

Title Moodle JavaScript Cookbook
Published Birmingham : Packt Pub., 2011

Copies

Description 1 online resource (295 pages)
Contents Moodle JavaScript Cookbook; Moodle JavaScript Cookbook; Credits; About the Author; About the Reviewers; www.PacktPub.com; Support files, eBooks, discount offers and more; Why Subscribe?; Free Access for Packt account holders; Preface; What this book covers; What you need for this book; Who this book is for; Conventions; Reader feedback; Customer support; Downloading the example code; Errata; Piracy; Questions; 1. Combining Moodle and JavaScript; Introduction; Creating a new Moodle PHP page; Getting ready; How to do it ... ; How it works ... ; Loading a JavaScript file; Getting ready
How to do it ... How it works ... ; Loading a JavaScript file in ; Getting ready; How to do it ... ; How it works ... ; Generating a JavaScript function call from PHP; Getting ready; How to do it ... ; How it works ... ; Passing variables from PHP to JavaScript; Getting ready; How to do it ... ; How it works ... ; Ensuring compliance with XHTML Strict; Getting ready; How to do it ... ; How it works ... ; Retrieving language strings from Moodle; Getting ready; How to do it ... ; How it works ... ; 2. Moodle and Yahoo! User Interface Library (YUI); Introduction; Initializing the YUI 3 library; Getting ready
How to do it ... How it works ... ; Loading additional YUI modules; How to do it ... ; Loading YUI 2 modules from YUI 3; Getting ready; How to do it ... ; How it works ... ; Attaching basic event handlers; Getting ready; How to do it ... ; How it works ... ; Attaching advanced DOM event handlers; Getting ready; How to do it ... ; How it works ... ; Implementing event delegation; Getting ready; How to do it ... ; How it works ... ; Debugging with the YUI console; Getting ready; How to do it ... ; How it works ... ; 3. Moodle Forms Validation; Introduction; Adding a required field; Getting ready; How to do it ..
How it works ... Adding a field with a maximum length; Getting ready; How to do it ... ; How it works ... ; Adding a field with a minimum length; Getting ready; How to do it ... ; How it works ... ; Adding a field length within in a specified range; Getting ready; How to do it ... ; How it works ... ; Adding a valid e-mail address field; Getting ready; How to do it ... ; How it works ... ; Adding custom validation with a Regular Expression; Getting ready; How to do it ... ; How it works ... ; Adding a field that accepts only alphabetic characters; Getting ready; How to do it ... ; How it works ..
Adding a field that accepts only alphanumeric charactersGetting ready; How to do it ... ; How it works ... ; Adding a field that accepts only numeric characters; Getting ready; How to do it ... ; How it works ... ; Rejecting punctuation characters; Getting ready; How to do it ... ; How it works ... ; Rejecting input without a leading zero; Getting ready; How to do it ... ; How it works ... ; Comparing with another field; Getting ready; How to do it ... ; How it works ... ; Adding a custom JavaScript validation function callback; Getting ready; How to do it ... ; How it works ... ; 4. Manipulating Data with YUI 3
Summary Over 50 recipes for making your Moodle system more dynamic and responsive with JavaScript
Notes Introduction
Print version record
SUBJECT Moodle. http://id.loc.gov/authorities/names/no2008006148
Moodle fast
Subject Web site development.
Java (Computer program language)
Java (Computer program language)
Web site development
Form Electronic book
ISBN 9781849511919
1849511918