SlideShare a Scribd company logo
WT Assignment III
Due date: 09 March 2017 8:00AM
Task 1:
Create a library book lost voucher form that should look like given below. (use assignment.html
for starting)
Note:
 Properly indent the code (jQuery or HTML), if there is no readability in the code you can
loose upto 20% of marks. Only Task 1 should be submitted, do task 2 for your own
practice.
 Use jQuery Cheat Sheet for selecting proper function
this is the info box … add or remove the class using jquery to get error or info affect …
Librarian Copy
Voucher no: 19030
Due Date: Date here
Member Name: ABC
Member ID: 14CS01
Member Address: Address
Member Type: Type list
Book Lost: Name of the Book
Book Author: author
Fine: 1000
Total Payable: 1000
Member Copy
Voucher no: 19030
Due Date: Date here
Member Name: ABC
Member ID: 14CS01
Member Address: Address
Member Type: Type
Book Lost: Name of the Book
Book Lost: Name of the Book
Fine: 1000
Total Payable: 1000
 On single click of the red contents there must appear a textbox for editing the contents
o Member type is a select list with items (Staff, Student, Faculty)
o For Due Date use jQuery Date Picker (see helping material for date picker at the
end)
Print
 After editing text; box must disappear and contents will be placed as simple
 Contents given in blue should automatically change
 Contents given in black are static & must not change
 Only edit will happen to Librarian copy (no edits for member copy)
 Member copy should update itself when there is a change in librarian copy
 Every field must be validated when field loose the focus
o If there is an error show in the info paragraph and change the paragraph class to
error
o Voucher no must be integer and greater than 100
o due date must not empty
o Name must be 3-15 characters
o Member ID must be like NNWW5NNN (where N is digit and W is A-Z), use
regular expression for that (see helping material for regular expression at the end)
o Member Address must be 3-20 characters
o Name of book can be 3-20 characters
o Fine amount can be 1.00-5000.00 (float)
 On click of print button
o Validate the full voucher (there is no textbox like things, you have to get HTML
contents) and if there is an error show error list in the info paragraph and change
that paragraph class to error
o If everything is correct
 Change info paragraph class to success and show wait print dialog is
opening …
 use window.print() function to show print dialog to user
 use chrome to test that and save it in PDF cool!
You have to do this using jQuery.
For date picker see www.eyecon.ro/datepicker/ OR http://jqueryui.com/datepicker/
For regular expressions see http://eloquentjavascript.net/09_regexp.html AND
https://www.tutorialspoint.com/javascript/javascript_regexp_object.htm AND
https://code.tutsplus.com/tutorials/you-dont-know-anything-about-regular-expressions-a-
complete-guide--net-7869
Task 2:
Often users want advance search in every site also there is simple search box. Provide
convenience to users that instead of opening new page for advance search just open the form
right there (on advance search click and again click on advance search form should be hidden).
Use fade in/out effects for transitions.
Search: OR Advance Search
Search: OR Advance Search
It is a div. Place some form controls here.
This effect is also used to hide menu, or drop down menus etc.

More Related Content

PDF
Access tips access and sql part 5 more instant queries 1
quest2900
 
PPTX
Customer Creation
FabGreen Technologies
 
DOCX
confirm.htmlCapellaVolunteers.orgHomeInvitationGalleryRegistrati
AlleneMcclendon878
 
DOCX
Computer Assignment #2 Company Database GuideCustomer Table Da.docx
zollyjenkins
 
PDF
The HTML canvas element is used to draw graphics on a web page.T.pdf
deepakangel
 
PPT
Nj 09 Q4 Paul Kadzielawa
PKadzielawa
 
PPT
Turnitin Quick Start for Students
Wawasan Open University
 
PPTX
Project PowerPoint
sephoni
 
Access tips access and sql part 5 more instant queries 1
quest2900
 
Customer Creation
FabGreen Technologies
 
confirm.htmlCapellaVolunteers.orgHomeInvitationGalleryRegistrati
AlleneMcclendon878
 
Computer Assignment #2 Company Database GuideCustomer Table Da.docx
zollyjenkins
 
The HTML canvas element is used to draw graphics on a web page.T.pdf
deepakangel
 
Nj 09 Q4 Paul Kadzielawa
PKadzielawa
 
Turnitin Quick Start for Students
Wawasan Open University
 
Project PowerPoint
sephoni
 

More from maamir farooq (20)

DOCX
Ooad lab1
maamir farooq
 
PPT
Lesson 03
maamir farooq
 
PPT
Lesson 02
maamir farooq
 
PDF
Php client libray
maamir farooq
 
PDF
Swiftmailer
maamir farooq
 
PDF
Lect15
maamir farooq
 
PDF
Lec 7
maamir farooq
 
PPTX
Lec 6
maamir farooq
 
PDF
Lec 5
maamir farooq
 
PDF
J query 1.7 cheat sheet
maamir farooq
 
PDF
Java script summary
maamir farooq
 
PDF
Lec 3
maamir farooq
 
PDF
Lec 2
maamir farooq
 
PPTX
Lec 1
maamir farooq
 
PPTX
Css summary
maamir farooq
 
DOCX
Manual of image processing lab
maamir farooq
 
PDF
Session management
maamir farooq
 
PDF
Data management
maamir farooq
 
PPTX
Content provider
maamir farooq
 
PDF
Android sq lite database tutorial
maamir farooq
 
Ooad lab1
maamir farooq
 
Lesson 03
maamir farooq
 
Lesson 02
maamir farooq
 
Php client libray
maamir farooq
 
Swiftmailer
maamir farooq
 
J query 1.7 cheat sheet
maamir farooq
 
Java script summary
maamir farooq
 
Css summary
maamir farooq
 
Manual of image processing lab
maamir farooq
 
Session management
maamir farooq
 
Data management
maamir farooq
 
Content provider
maamir farooq
 
Android sq lite database tutorial
maamir farooq
 
Ad

Recently uploaded (20)

PPTX
Gupta Art & Architecture Temple and Sculptures.pptx
Virag Sontakke
 
PPTX
CDH. pptx
AneetaSharma15
 
PPTX
A Smarter Way to Think About Choosing a College
Cyndy McDonald
 
PPTX
How to Manage Leads in Odoo 18 CRM - Odoo Slides
Celine George
 
PDF
Health-The-Ultimate-Treasure (1).pdf/8th class science curiosity /samyans edu...
Sandeep Swamy
 
PPTX
How to Apply for a Job From Odoo 18 Website
Celine George
 
PDF
The-Invisible-Living-World-Beyond-Our-Naked-Eye chapter 2.pdf/8th science cur...
Sandeep Swamy
 
PPTX
Tips Management in Odoo 18 POS - Odoo Slides
Celine George
 
DOCX
pgdei-UNIT -V Neurological Disorders & developmental disabilities
JELLA VISHNU DURGA PRASAD
 
DOCX
SAROCES Action-Plan FOR ARAL PROGRAM IN DEPED
Levenmartlacuna1
 
PPTX
Python-Application-in-Drug-Design by R D Jawarkar.pptx
Rahul Jawarkar
 
PPTX
How to Close Subscription in Odoo 18 - Odoo Slides
Celine George
 
PPTX
HEALTH CARE DELIVERY SYSTEM - UNIT 2 - GNM 3RD YEAR.pptx
Priyanshu Anand
 
PDF
Module 2: Public Health History [Tutorial Slides]
JonathanHallett4
 
PPTX
CARE OF UNCONSCIOUS PATIENTS .pptx
AneetaSharma15
 
PPTX
INTESTINALPARASITES OR WORM INFESTATIONS.pptx
PRADEEP ABOTHU
 
PDF
Antianginal agents, Definition, Classification, MOA.pdf
Prerana Jadhav
 
PPTX
How to Track Skills & Contracts Using Odoo 18 Employee
Celine George
 
PDF
Biological Classification Class 11th NCERT CBSE NEET.pdf
NehaRohtagi1
 
PPTX
Information Texts_Infographic on Forgetting Curve.pptx
Tata Sevilla
 
Gupta Art & Architecture Temple and Sculptures.pptx
Virag Sontakke
 
CDH. pptx
AneetaSharma15
 
A Smarter Way to Think About Choosing a College
Cyndy McDonald
 
How to Manage Leads in Odoo 18 CRM - Odoo Slides
Celine George
 
Health-The-Ultimate-Treasure (1).pdf/8th class science curiosity /samyans edu...
Sandeep Swamy
 
How to Apply for a Job From Odoo 18 Website
Celine George
 
The-Invisible-Living-World-Beyond-Our-Naked-Eye chapter 2.pdf/8th science cur...
Sandeep Swamy
 
Tips Management in Odoo 18 POS - Odoo Slides
Celine George
 
pgdei-UNIT -V Neurological Disorders & developmental disabilities
JELLA VISHNU DURGA PRASAD
 
SAROCES Action-Plan FOR ARAL PROGRAM IN DEPED
Levenmartlacuna1
 
Python-Application-in-Drug-Design by R D Jawarkar.pptx
Rahul Jawarkar
 
How to Close Subscription in Odoo 18 - Odoo Slides
Celine George
 
HEALTH CARE DELIVERY SYSTEM - UNIT 2 - GNM 3RD YEAR.pptx
Priyanshu Anand
 
Module 2: Public Health History [Tutorial Slides]
JonathanHallett4
 
CARE OF UNCONSCIOUS PATIENTS .pptx
AneetaSharma15
 
INTESTINALPARASITES OR WORM INFESTATIONS.pptx
PRADEEP ABOTHU
 
Antianginal agents, Definition, Classification, MOA.pdf
Prerana Jadhav
 
How to Track Skills & Contracts Using Odoo 18 Employee
Celine George
 
Biological Classification Class 11th NCERT CBSE NEET.pdf
NehaRohtagi1
 
Information Texts_Infographic on Forgetting Curve.pptx
Tata Sevilla
 
Ad

Assignment

  • 1. WT Assignment III Due date: 09 March 2017 8:00AM Task 1: Create a library book lost voucher form that should look like given below. (use assignment.html for starting) Note:  Properly indent the code (jQuery or HTML), if there is no readability in the code you can loose upto 20% of marks. Only Task 1 should be submitted, do task 2 for your own practice.  Use jQuery Cheat Sheet for selecting proper function this is the info box … add or remove the class using jquery to get error or info affect … Librarian Copy Voucher no: 19030 Due Date: Date here Member Name: ABC Member ID: 14CS01 Member Address: Address Member Type: Type list Book Lost: Name of the Book Book Author: author Fine: 1000 Total Payable: 1000 Member Copy Voucher no: 19030 Due Date: Date here Member Name: ABC Member ID: 14CS01 Member Address: Address Member Type: Type Book Lost: Name of the Book Book Lost: Name of the Book Fine: 1000 Total Payable: 1000  On single click of the red contents there must appear a textbox for editing the contents o Member type is a select list with items (Staff, Student, Faculty) o For Due Date use jQuery Date Picker (see helping material for date picker at the end) Print
  • 2.  After editing text; box must disappear and contents will be placed as simple  Contents given in blue should automatically change  Contents given in black are static & must not change  Only edit will happen to Librarian copy (no edits for member copy)  Member copy should update itself when there is a change in librarian copy  Every field must be validated when field loose the focus o If there is an error show in the info paragraph and change the paragraph class to error o Voucher no must be integer and greater than 100 o due date must not empty o Name must be 3-15 characters o Member ID must be like NNWW5NNN (where N is digit and W is A-Z), use regular expression for that (see helping material for regular expression at the end) o Member Address must be 3-20 characters o Name of book can be 3-20 characters o Fine amount can be 1.00-5000.00 (float)  On click of print button o Validate the full voucher (there is no textbox like things, you have to get HTML contents) and if there is an error show error list in the info paragraph and change that paragraph class to error o If everything is correct  Change info paragraph class to success and show wait print dialog is opening …  use window.print() function to show print dialog to user  use chrome to test that and save it in PDF cool! You have to do this using jQuery. For date picker see www.eyecon.ro/datepicker/ OR http://jqueryui.com/datepicker/ For regular expressions see http://eloquentjavascript.net/09_regexp.html AND https://www.tutorialspoint.com/javascript/javascript_regexp_object.htm AND https://code.tutsplus.com/tutorials/you-dont-know-anything-about-regular-expressions-a- complete-guide--net-7869
  • 3. Task 2: Often users want advance search in every site also there is simple search box. Provide convenience to users that instead of opening new page for advance search just open the form right there (on advance search click and again click on advance search form should be hidden). Use fade in/out effects for transitions. Search: OR Advance Search Search: OR Advance Search It is a div. Place some form controls here. This effect is also used to hide menu, or drop down menus etc.