| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- function lesson_validate_required(field,alerttxt)
- {
- with (field)
- {
- if (value==null || value==""){
- $("#error_"+id).html(alerttxt);
- return false
- }
- else {return true}
- }
- }
- function lesson_validate_form(thisform)
- {
- with (thisform)
- {
- if (lesson_validate_required(title,"Title must be filled out!")==false)
- {title.focus();return false}
- }
- }
- function course_list(){
- }
- function course_validate_required(field,alerttxt)
- {
- with (field)
- {
- if (value==null || value==""){
- $("#error_"+id).html(alerttxt);
- return false;
- }
- else {return true}
- }
- }
- function course_validate_form(thisform)
- {
- with (thisform)
- {
- if (course_validate_required(title,"Title must be filled out!")==false){
- title.focus();
- return false;
- }
- }
- }
- function course_list(){
- }
|