LAB Test 1. Rules and Regulations:-
|
|
- Christopher Harrington
- 5 years ago
- Views:
Transcription
1 LAB Test 1 Rules and Regulations:- 1. Individual Test 2. Start at 3.10 pm until 4.40 pm (1 Hour and 30 Minutes) 3. Open note test 4. Send the answer to h.a.sulaiman@ieee.org a. Subject: [LabTest] Your Full Name b. Content: Your Full Name, Matric ID, IC Number c. Attachment: Zip or Rar File Example:
2 Question: You are going to validate the HTML Form Inputs using Javascript: You can use JavaScript to valid an HTML form's input field before submitting the form data to the server. The JavaScript can verify that: 1. A input field is required and cannot be left empty. 2. A valid address (user@hostname.com) 3. A valid numeric string (e.g., phone number), or all-letter string
3 Steps 1. Copy or write the following file: Formvalidation.html <html> <head> <title>test JavaScript Form Validation</title> <link rel="stylesheet" href="formvalidation.css"> <script type="text/javascript" src="formvalidation.js" ></script> </head> <body> <h2>test JavaScript Form Validation</h2> <form id="theform" method="get" action="submitdata"> <table> <td>name<span class="red">*</span></td> <td><input type="text" id="name" name="name"/></td> <td id="nameerror" class="red"> </td></tr> <td>address</td> <td><input type="text" id="address" name="address" /></td> <td id="addresserror" class="red"> </td></tr> <td>zip Code<span class="red">*</span></td> <td><input type="text" id="zipcode" name="zipcode" /></td> <td id="zipcodeerror" class="red"> </td></tr> <td>country<span class="red">*</span></td> <td><select id="country" name="country"> <option value="" selected>please select...</option> <option value="aa">aa</option> <option value="bb">bb</option> <option value="cc">cc</option> </select><br /></td> <td id="countryerror" class="red"> </td></tr>
4 continue.. <td>gender<span class="red">*</span></td> <td><input type="radio" name="gender" value="m" />Male <input type="radio" name="gender" value="f" />Female</td> <td id="gendererror" class="red"> </td></tr> <td>preferences<span class="red">*</span></td> <td><input type="checkbox" name="color" value="r" />Red <input type="checkbox" name="color" value="g" />Green <input type="checkbox" name="color" value="b" />Blue</td> <td id="colorerror" class="red"> </td></tr> <td>phone<span class="red">*</span></td> <td><input type="text" id="phone" name="phone" /></td> <td id="phoneerror" class="red"> </td></tr> <td> <span class="red">*</span></td> <td><input type="text" id=" " name=" " /></td> <td id=" error" class="red"> </td></tr> <td> </td> <td><input type="submit" value="send" id="submit"/> <input type="reset" value="clear" id="reset"/></td> <td> </td></tr> </table> </form> </body> </html>
5 2. Copy and write the following file Formvalidation.css.red { /* for error messages */ color: red; input.error { /* for the error input text fields */ border: 1px red inset; padding: 2px; table { border: 0; td { margin: 0; padding: 3px 10px 3px 3px;
6 3. Complete the following javascript Formvalidation.js window.onload = init; function init() { document.getelementbyid("theform").onsubmit = validateform; document.getelementbyid("reset").onclick = cleardisplay; document.getelementbyid("name").focus(); function validateform() { return (isnotempty("name", "Please enter your name!") && isnumeric("zipcode", "Please enter a 5-digit zip code!") && islengthminmax("zipcode", "Please enter a 5-digit zip code!", 5, 5) && isselected("country", "Please make a selection!") && ischecked("gender", "Please check a gender!") && ischecked("color", "Please check a color!") && isnumeric("phone", "Please enter a valid phone number!") && isvalid (" ", "Enter a valid !")); // Return true if the input value is not empty function isnotempty(inputid, errormsg) { var inputvalue = inputelement.value.trim(); var isvalid = (inputvalue.length!== 0); // boolean
7 function showmessage(isvalid, inputelement, errormsg, errorelement) { if (!isvalid) { // Put up error message on errorelement or via alert() if (errorelement!== null) { errorelement.innerhtml = errormsg; else { alert(errormsg); // Change "class" of inputelement, so that CSS displays differently if (inputelement!== null) { inputelement.classname = "error"; inputelement.focus(); else { // Reset to normal display if (errorelement!== null) { errorelement.innerhtml = ""; if (inputelement!== null) { inputelement.classname = ""; // Return true if the input value contains only digits (at least one) function isnumeric(inputid, errormsg) { (a) 0.5 mark (b) 0.5 mark (c) 0.5 mark (d) 0.5 mark // Return true if the input value contains only letters (at least one) function isalphabetic(inputid, errormsg) { (e) 0.5 mark (f) 0.5 mark (g) 0.5 mark (h) 0.5 mark
8 // Return true if the input value contains only digits and letters (at least one) function isalphanumeric(inputid, errormsg) { var inputvalue = inputelement.value.trim(); var isvalid = inputvalue.match(/^[0-9a-za-z]+$/); // Return true if the input length is between minlength and maxlength function islengthminmax(inputid, errormsg, minlength, maxlength) { (i) 0.5 mark (j) 0.5 mark // Return true if the input value is a valid address function isvalid (inputid, errormsg) { (k) 0.5 mark (l) 0.5 mark (m) 0.5 mark (n) 0.5 mark
9 // Return true if selection is made (not default of "") in <select> input function isselected(inputid, errormsg) { var inputvalue = inputelement.value; // You need to set the default value of <select>'s <option> to "". var isvalid = inputvalue!== ""; // Return true if the one of the checkboxes or radio buttons is checked function ischecked(inputname, errormsg) { var inputelements = document.getelementsbyname(inputname); var errorelement = document.getelementbyid(inputname + "Error"); var ischecked = false; for (var i = 0; i < inputelements.length; i++) { if (inputelements[i].checked) { ischecked = true; // found one element checked break; showmessage(ischecked, null, errormsg, errorelement); return ischecked; // The "onclick" handler for the "reset" button to clear the display function cleardisplay() { var elms = document.getelementsbytagname("*"); // all tags for (var i = 0; i < elms.length; i++) { if ((elms[i].id).match(/error$/)) { // no endswith() in JS? elms[i].innerhtml = ""; if (elms[i].classname === "error") { // assume only one class elms[i].classname = ""; // Set initial focus document.getelementbyid("name").focus();
Controlled Assessment Task. Question 1 - Describe how this HTML code produces the form displayed in the browser.
Controlled Assessment Task Question 1 - Describe how this HTML code produces the form displayed in the browser. The form s code is displayed in the tags; this creates the object which is the visible
More informationLAB MANUAL SUBJECT: WEB TECHNOLOGY CLASS : T.E (COMPUTER) SEMESTER: VI
LAB MANUAL SUBJECT: WEB TECHNOLOGY CLASS : T.E (COMPUTER) SEMESTER: VI INDEX No. Title Pag e No. 1 Implements Basic HTML Tags 3 2 Implementation Of Table Tag 4 3 Implementation Of FRAMES 5 4 Design A FORM
More informationHTML and JavaScript: Forms and Validation
HTML and JavaScript: Forms and Validation CISC 282 October 18, 2017 Forms Collection of specific elements know as controls Allow the user to enter information Submit the data to a web server Controls are
More informationHTML forms and the dynamic web
HTML forms and the dynamic web Antonio Lioy < lioy@polito.it > english version created by Marco D. Aime < m.aime@polito.it > Politecnico di Torino Dip. Automatica e Informatica timetable.html departure
More informationHyperlinks, Tables, Forms and Frameworks
Hyperlinks, Tables, Forms and Frameworks Web Authoring and Design Benjamin Kenwright Outline Review Previous Material HTML Tables, Forms and Frameworks Summary Review/Discussion Email? Did everyone get
More informationCIS 339 Section 2. What is JavaScript
CIS 339 Section 2 Introduction to JavaScript 9/26/2001 2001 Paul Wolfgang 1 What is JavaScript An interpreted programming language with object-oriented capabilities. Shares its syntax with Java, C++, and
More informationCOMS 359: Interactive Media
COMS 359: Interactive Media Agenda Project #3 Review Forms (con t) CGI Validation Design Preview Project #3 report Who is your client? What is the project? Project Three action= http://...cgi method=
More informationHTML Tables and Forms. Outline. Review. Review. Example Demo/ Walkthrough. CS 418/518 Web Programming Spring Tables to Display Data"
CS 418/518 Web Programming Spring 2014 HTML Tables and Forms Dr. Michele Weigle http://www.cs.odu.edu/~mweigle/cs418-s14/ Outline! Assigned Reading! Chapter 4 "Using Tables to Display Data"! Chapter 5
More informationSeahorse. User guide. José Facundo Maldonado
Seahorse User guide José Facundo Maldonado Seahorse User guide by José Facundo Maldonado This book is owned by Jose Facundo Maldonado, the author. Its content is protected by a Creative Commons license
More informationDynamic Form Processing Tool Version 5.0 November 2014
Dynamic Form Processing Tool Version 5.0 November 2014 Need more help, watch the video! Interlogic Graphics & Marketing (719) 884-1137 This tool allows an ICWS administrator to create forms that will be
More informationSpring 2014 Interim. HTML forms
HTML forms Forms are used very often when the user needs to provide information to the web server: Entering keywords in a search box Placing an order Subscribing to a mailing list Posting a comment Filling
More informationForm Overview. Form Processing. The Form Element. CMPT 165: Form Basics
Form Overview CMPT 165: Form Basics Tamara Smyth, tamaras@cs.sfu.ca School of Computing Science, Simon Fraser University October 26, 2011 A form is an HTML element that contains and organizes objects called
More informationWEBD 236 Web Information Systems Programming
WEBD 236 Web Information Systems Programming Week 4 Copyright 2013-2017 Todd Whittaker and Scott Sharkey (sharkesc@franklin.edu) Agenda This week s expected outcomes This week s topics This week s homework
More informationDC71 INTERNET APPLICATIONS DEC 2014
Q.2 a. What are the Core Attributes of XHTML elements? Id - Uniquely identifies the element in a page. All ids in a document must be distinct. Among other uses, a URL ending in #some id can lead directly
More information<body> <form id="myform" name="myform"> <!-- form child elements go in here --> </form> </body>
ITEC 136 Business Programming Concepts Week 08, Part 01 Overview 1 Week 7 Review Sentinel controlled loops Results controlled loops Flag controlled loops break and continue keywords Nested loops Loop variable
More informationPractice problems. 1 Draw the output for the following code. 2. Draw the output for the following code.
Practice problems. 1 Draw the output for the following code. form for Spring Retreat Jacket company Spring Retreat Jacket Order Form please fill in this form and click on
More informationQ1. What is JavaScript?
Q1. What is JavaScript? JavaScript was designed to add interactivity to HTML pages JavaScript is a scripting language A scripting language is a lightweight programming language JavaScript is usually embedded
More informationHTML Forms. By Jaroslav Mohapl
HTML Forms By Jaroslav Mohapl Abstract How to write an HTML form, create control buttons, a text input and a text area. How to input data from a list of items, a drop down list, and a list box. Simply
More informationChapter 16. JavaScript 3: Functions Table of Contents
Chapter 16. JavaScript 3: Functions Table of Contents Objectives... 2 14.1 Introduction... 2 14.1.1 Introduction to JavaScript Functions... 2 14.1.2 Uses of Functions... 2 14.2 Using Functions... 2 14.2.1
More informationCOM1004 Web and Internet Technology
COM1004 Web and Internet Technology When a user submits a web form, how do we save the information to a database? How do we retrieve that data later? ID NAME EMAIL MESSAGE TIMESTAMP 1 Mike mike@dcs Hi
More informationOverview of Forms. Forms are used all over the Web to: Types of forms: Accept information Provide interactivity
HTML Forms Overview of Forms Forms are used all over the Web to: Accept information Provide interactivity Types of forms: Search form, Order form, Newsletter sign-up form, Survey form, Add to Cart form,
More informationChapter 7: JavaScript for Client-Side Content Behavior
Chapter 7: JavaScript for Client-Side Content Behavior Overview and Objectives Create a rotating sequence of images (a slide show ) on the home page for our website Use a JavaScript function as the value
More informationCPET 499/ITC 250 Web Systems. Topics
CPET 499/ITC 250 Web Systems Part 1 o 2 Chapter 12 Error Handling and Validation Text Book: * Fundamentals of Web Development, 2015, by Randy Connolly and Ricardo Hoar, published by Pearson Paul I-Hai,
More information<form>. input elements. </form>
CS 183 4/8/2010 A form is an area that can contain form elements. Form elements are elements that allow the user to enter information (like text fields, text area fields, drop-down menus, radio buttons,
More informationCreating Forms. Speaker: Ray Ryon
Creating Forms Speaker: Ray Ryon In this lesson we will discuss how to create a web form. Forms are useful because they allow for input from a user. That input can then be used to respond to the user with
More informationIntroduction to DHTML
Introduction to DHTML HTML is based on thinking of a web page like a printed page: a document that is rendered once and that is static once rendered. The idea behind Dynamic HTML (DHTML), however, is to
More informationP - 13 Bab 10 : PHP MySQL Lanjut (Studi Kasus)
P - 13 Bab 10 : PHP MySQL Lanjut (Studi Kasus) 10.1 Tujuan Mahasiswa mampu : Mengetahui dan Memahami Integrasi PHP dengan MySQL Mengetahui dan Memahami Relasi Dengan phpmyadmin Designer Mengetahui dan
More informationHTML Tables and. Chapter Pearson. Fundamentals of Web Development. Randy Connolly and Ricardo Hoar
HTML Tables and Forms Chapter 5 2017 Pearson http://www.funwebdev.com - 2 nd Ed. HTML Tables A grid of cells A table in HTML is created using the element Tables can be used to display: Many types
More informationThe Hypertext Markup Language (HTML) Part II. Hamid Zarrabi-Zadeh Web Programming Fall 2013
The Hypertext Markup Language (HTML) Part II Hamid Zarrabi-Zadeh Web Programming Fall 2013 2 Outline HTML Structures Tables Forms New HTML5 Elements Summary HTML Tables 4 Tables Tables are created with
More informationCMPT 165 INTRODUCTION TO THE INTERNET AND THE WORLD WIDE WEB
CMPT 165 INTRODUCTION TO THE INTERNET AND THE WORLD WIDE WEB Unit 8 HTML Forms and Basic CGI Slides based on course material SFU Icons their respective owners 1 Learning Objectives In this unit you will
More informationBy the end of this section of the practical, the students should be able to:
By the end of this section of the practical, the students should be able to: Learn about the Document Object Model and the Document Object Model hierarchy Create and use the properties, methods and event
More informationEECS1012. Net-centric Introduction to Computing. Lecture JavaScript Events
EECS 1012 Net-centric Introduction to Computing Lecture JavaScript Events Acknowledgements Contents are adapted from web lectures for Web Programming Step by Step, by M. Stepp, J. Miller, and V. Kirst.
More informationCreating a Web Page with HTML
CT1501 DEVELOPMENT OF INTERNET APPLICATION Creating a Web Page with HTML Prepared By: Huda Alsuwailem Reviewed by: Rehab Alfallaj www.faculty.ksu.edu.sa/rehab-alfallaj ralfallaj@ksu.edu.sa Tables
More informationChapter4: HTML Table and Script page, HTML5 new forms. Asst. Prof. Dr. Supakit Nootyaskool Information Technology, KMITL
Chapter4: HTML Table and Script page, HTML5 new forms Asst. Prof. Dr. Supakit Nootyaskool Information Technology, KMITL Objective To know HTML5 creating a new style form. To understand HTML table benefits
More informationBy: JavaScript tutorial-a simple calculator
JavaScript tutorial-a simple calculator In this small sample project, you will learn to create a simple JavaScript calculator. This calculator has only one text box and sixteen buttons. The text box allows
More informationCOMP1000 Mid-Session Test 2017s1
COMP1000 Mid-Session Test 2017s1 Total Marks: 45 Duration: 55 minutes + 10 min reading time This examination has three parts: Part 1: 15 Multiple Choice Questions (15 marks /45) Part 2: Practical Excel
More informationJavaScript s role on the Web
Chris Panayiotou JavaScript s role on the Web JavaScript Programming Language Developed by Netscape for use in Navigator Web Browsers Purpose make web pages (documents) more dynamic and interactive Change
More informationJavascript Lecture 23
Javascript Lecture 23 Robb T. Koether Hampden-Sydney College Mar 9, 2012 Robb T. Koether (Hampden-Sydney College) JavascriptLecture 23 Mar 9, 2012 1 / 23 1 Javascript 2 The Document Object Model (DOM)
More informationDynamic HTML becomes HTML5. HTML Forms and Server Processing. Form Submission to Web Server. DHTML - Mouse Events. CMST385: Slide Set 8: Forms
HTML Forms and Server Processing Forms provide a standard data entry method for users to send information to a web server Clicking button calls a script on server CGI = Common Gateway Interface CGI scripts
More informationLesson 3. Form By Raymond Tsang. Certificate Programme in Cyber Security
Lesson 3 Form By Raymond Tsang Certificate Programme in Cyber Security What is a form How to create a form Getting input from users Generate a result It s a section of a document containing normal content,
More informationLast &me: Javascript (forms and func&ons)
Let s debug some code together: hkp://www.clsp.jhu.edu/~anni/cs103/test_before.html hkp://www.clsp.jhu.edu/~anni/cs103/test_arer.html
More informationThis is an open-book, open-notes, open-computer exam. You may not consult with anyone other than the instructor while working on this exam.
FINAL EXAM KEY SPRING 2016 CSC 105 INTERACTIVE WEB DOCUMENTS NICHOLAS R. HOWE This is an open-book, open-notes, open-computer exam. You may not consult with anyone other than the instructor while working
More information1. Cascading Style Sheet and JavaScript
1. Cascading Style Sheet and JavaScript Cascading Style Sheet or CSS allows you to specify styles for visual element of the website. Styles specify the appearance of particular page element on the screen.
More informationConsider the following file A_Q1.html.
Consider the following file A_Q1.html. 1 2 3 Q1A 4 5 6 7 function check () { 8 } 9 10 11
More informationAdvanced HTML Scripting WebGUI Users Conference
Advanced HTML Scripting 2004 WebGUI Users Conference XHTML where did that x come from? XHTML =? Extensible Hypertext Markup Language Combination of HTML and XML More strict than HTML Things to Remember
More informationDAY 2. Creating Forms
DAY 2 Creating Forms LESSON LEARNING TARGETS I can identify and apply the different HTML tags to create a Web page form. I can describe the ways data is sent in a form in namevalue pairs. I can create
More informationUNIVERSITI TEKNOLOGI MALAYSIA TEST 1 SEMESTER II 2012/2013
UNIVERSITI TEKNOLOGI MALAYSIA TEST 1 SEMESTER II 2012/2013 SUBJECT CODE : SCSV1223 (Section 05) SUBJECT NAME : WEB PROGRAMMING YEAR/COURSE : 1SCSV TIME : 2.00 4.00 PM DATE : 18 APRIL 2013 VENUE : KPU 10
More informationRow and Column Spans. Homework. Column and Row Span Example (2) Column and Row Span Example. tables: Live Demo. like the following using forms:
table-colspan colspan-rowspan.html cell[1,1] cell[2,1] cell[1,2] cell[2,2] cell[3,2]
More informationblink.html 1/1 lectures/6/src/ form.html 1/1 lectures/6/src/
blink.html 1/1 3: blink.html 5: David J. Malan Computer Science E-75 7: Harvard Extension School 8: 9: --> 11:
More informationCITS1231 Web Technologies
CITS1231 Web Technologies Client side id Form Validation using JavaScript Objectives Recall how to create forms on web pages Understand the need for client side validation Know how to reference form elements
More informationCreating and Building Websites
Creating and Building Websites Stanford University Continuing Studies CS 21 Mark Branom branom@alumni.stanford.edu Course Web Site: http://web.stanford.edu/group/csp/cs21 Week 7 Slide 1 of 25 Week 7 Unfinished
More informationHTML User Interface Controls. Interactive HTML user interfaces. Document Object Model (DOM)
Page 1 HTML User Interface Controls CSE 190 M (Web Programming), Spring 2007 University of Washington Reading: Sebesta Ch. 5 sections 5.1-5.7.2, Ch. 2 sections 2.9-2.9.4 Interactive HTML user interfaces
More informationIntroduction to using HTML to design webpages
Introduction to using HTML to design webpages #HTML is the script that web pages are written in. It describes the content and structure of a web page so that a browser is able to interpret and render the
More informationManual Html A Href Onclick Submit Button
Manual Html A Href Onclick Submit Button When you submit the form via clicking the radio button, it inserts properly into Doing a manual refresh (F5 or refresh button) will then display the new updated
More informationWeb Programming. Based on Notes by D. Hollinger Also Java Network Programming and Distributed Computing, Chs.. 9,10 Also Online Java Tutorial, Sun.
Web Programming Based on Notes by D. Hollinger Also Java Network Programming and Distributed Computing, Chs.. 9,10 Also Online Java Tutorial, Sun. 1 World-Wide Wide Web (Tim Berners-Lee & Cailliau 92)
More informationComputer Science E-75 Building Dynamic Websites
Computer Science E-75 Building Dynamic Websites Harvard Extension School http://www.cs75.net/ Lecture 0: HTTP David J. Malan malan@post.harvard.edu http://www.cs.harvard.edu/~malan/ 0 DNS Image from wikipedia.org.
More informationCISC 1600 Lecture 2.4 Introduction to JavaScript
CISC 1600 Lecture 2.4 Introduction to JavaScript Topics: Javascript overview The DOM Variables and objects Selection and Repetition Functions A simple animation What is JavaScript? JavaScript is not Java
More informationForm Processing in PHP
Form Processing in PHP Forms Forms are special components which allow your site visitors to supply various information on the HTML page. We have previously talked about creating HTML forms. Forms typically
More informationCIS 228 (Spring, 2012) Final, 5/17/12
CIS 228 (Spring, 2012) Final, 5/17/12 Name (sign) Name (print) email I would prefer to fail than to receive a grade of or lower for this class. Question 1 2 3 4 5 6 7 8 9 A B C D E TOTAL Score CIS 228,
More information1.2 * allow custom user list to be passed in * publish changes to a channel
ToDoList /*** USAGE: ToDoList() Embed a TODO-list into a page. The TODO list allows users to cre Items that are due are highlighted in yellow, items passed due ar list can be added to any page. The information
More informationCS 350 COMPUTER/HUMAN INTERACTION. Lecture 6
CS 350 COMPUTER/HUMAN INTERACTION Lecture 6 Setting up PPP webpage Log into lab Linux client or into csserver directly Webspace (www_home) should be set up Change directory for CS 350 assignments cp r
More informationToDoList. 1.2 * allow custom user list to be passed in * publish changes to a channel ***/
/*** USAGE: ToDoList() Embed a TODO-list into a page. The TODO list allows users to create new items, assign them to other users, and set deadlines. Items that are due are highlighted in yellow, items
More informationEECS1012. Net-centric Introduction to Computing. Lecture JavaScript and Forms
EECS 1012 Net-centric Introduction to Computing Lecture JavaScript and Forms Acknowledgements The contents of these slides may be modified and redistributed, please give appropriate credit. M.S. Brown,
More informationBuilding Web Based Application using HTML
Introduction to Hypertext Building Web Based Application using HTML HTML: Hypertext Markup Language Hypertext links within and among Web documents connect one document to another Origins of HTML HTML is
More informationIAT 355 : Lab 01. Web Basics
IAT 355 : Lab 01 Web Basics Overview HTML CSS Javascript HTML & Graphics HTML - the language for the content of a webpage a Web Page put css rules here
More informationCSE 154 LECTURE 8: FORMS
CSE 154 LECTURE 8: FORMS Web data most interesting web pages revolve around data examples: Google, IMDB, Digg, Facebook, YouTube, Rotten Tomatoes can take many formats: text, HTML, XML, multimedia many
More informationChapter 1 FORMS. SYS-ED/ Computer Education Techniques, Inc.
Chapter 1 FORMS SYS-ED/ Computer Education Techniques, Inc. Objectives You will learn: How to use forms and the related form types. Controls for interacting with forms. Menus and presenting users with
More informationHTML: Fragments, Frames, and Forms. Overview
HTML: Fragments, Frames, and Forms Michael B. Spring Department of Information Science and Telecommunications University of Pittsburgh spring@ imap.pitt.edu http://www.sis. pitt.edu/~spring Overview Fragment
More informationif(! list.contains(list.collect(params,'key'),'title')){ <div style="font-weight:bold;color:red;">"warning: A title field must be assigned.
/** Author: Blake Harms Version 2.9 See: http://developer.mindtouch.com/app_catalog/ Integrated_Bug_and_Issue_Tracker on 2.9 added performance tunning posted by Sego on this blog post: http://forums.developer.mindtouch.com/
More informationSchool of Computer Science and Software Engineering
1. C 2. B 3. C B 4. B 5. B 6. B 7. C (should be getelementsbyid case sensitive) 8. A 9. B 10. D 11. B 12. A 13. A 14. D 15. C 16. D 17. A 18. C 19. A 20. D P a g e 2 of 13 Section B: Long Answer Questions
More informationCSS CSS how to display to solve a problem External Style Sheets CSS files CSS Syntax
CSS CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to solve a problem External Style Sheets can save a lot of work External Style Sheets
More informationSummary 4/5. (contains info about the html)
Summary Tag Info Version Attributes Comment 4/5
More information1$ 5 ! $ 6 4 * Source: 0 "!*! 0! * 8 97 ?!$ 5 0 *! 4! $ 0 : * ' () 7;7 7<7
!#! # %! ' ()!* +, -.!/ *! * 1 !!
More informationPaythru Remote Fields
Paythru Remote Fields Paythru Remote Fields are an alternative integration method for the Paythru Client POST API. The integration consists of contructing a basic javascript configuration object and including
More informationChapter 6: JavaScript for Client-Side Computation and Form Data Validation
Chapter 6: JavaScript for Client-Side Computation and Form Data Validation Overview and Objectives Discuss the importance of keeping web page content behavior separate from content structure and content
More information2. Create a directory named TEMP in your C drive. Create a subdirectory in TEMP named after your name.
PRACTICE PROBLEMS Initial Set up 1. Create GROUPLOG database tables in MSACCESS for entry of your group meetings log with the following attributes: GROUPMEMBER (id, lastname, firstname, emailaddress, groupno)
More informationWeb Technologies - by G. Sreenivasulu Handout - 1 UNIT - I
INTRODUCTION: UNIT - I HTML stands for Hyper Text Markup Language.HTML is a language for describing web pages.html is a language for describing web pages.html instructions divide the text of a document
More informationゼミ Wiki の再構築について 資料編 加納さおり
Wiki [ Fukuda Semi Wiki] [ 2 wiki] [ 3 ] [ 4 ] [ 5 ] [ 6 ] [ 7 ] [ 8 ] [ 9 ] [ 10 ] [ 11 ] [ 12 ] [ 13 ] [ 14 Menu1] [ 15 Menu2] [ 16 Menu3] [ 17 wiki Menu] [ 18 TOP ] [ 19 ] [ 20 ] [ 20] [ 21 ] [ 22 (
More informationIS 242 Web Application Development I
IS 242 Web Application Development I Lecture 11: Introduction to JavaScript (Part 4) Marwah Alaofi Outlines of today s lecture Events Assigning events using DOM Dom nodes Browser Object Model (BOM) 2 Event
More informationwrite vs. writeln Prompting as Page Loads Today s Goals CSCI 2910 Client/Server-Side Programming Intermediate File vs. HTML Output
CSCI 2910 Client/Server-Side Programming Topic: JavaScript Part 2 Today s Goals Today s lecture will cover: More objects, properties, and methods of the DOM The Math object Introduction to form validation
More informationStudent, Perfect Final Exam May 25, 2006 ID: Exam No CS-081/Vickery Page 1 of 6
Student, Perfect Final Exam May 25, 2006 ID: 9999. Exam No. 3193 CS-081/Vickery Page 1 of 6 NOTE: It is my policy to give a failing grade in the course to any student who either gives or receives aid on
More informationIslamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM Advanced Internet Technology Lab.
Islamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM 5049 Advanced Internet Technology Lab Lab # 1 Eng. Haneen El-masry February, 2015 Objective To be familiar with
More informationSource. Developer Guide / forms
Developer Guide / forms Controls (input, select, textarea) are a way for user to enter data. Form is a collection of controls for the purpose of grouping related controls together. Form and controls provide
More informationExam 2 Reference Packet
CS 328 - Exam 2-2015-04-08 p. 1 For Problem 5 Exam 2 Reference Packet Number of cups:
More informationCollecting Information with Forms
C H A P T E R 1 Collecting Information with Forms O B J E C T I V E S In this chapter, you learn how to: Insert a form Create different types of text fields Insert Submit, Reset, and other buttons Present
More informationNew Media Production Lecture 7 Javascript
New Media Production Lecture 7 Javascript Javascript Javascript and Java have almost nothing in common. Netscape developed a scripting language called LiveScript. When Sun developed Java, and wanted Netscape
More informationComp-206 : Introduction to Software Systems Lecture 23. Alexandre Denault Computer Science McGill University Fall 2006
HTML, CSS Comp-206 : Introduction to Software Systems Lecture 23 Alexandre Denault Computer Science McGill University Fall 2006 Course Evaluation - Mercury 22 / 53 41.5% Assignment 3 Artistic Bonus There
More informationART170. The ART170 Final Project
The Final Project TABLE OF CONTENTS Define the site and set up the layout pg. 2 Ordering and externalizing the style sheet pg. 2 Creating the template pg. 3 Generating pages from the template pg. 4 Updating
More informationFunctions. INFO/CSE 100, Spring 2006 Fluency in Information Technology.
Functions INFO/CSE 100, Spring 2006 Fluency in Information Technology http://www.cs.washington.edu/100 4/24/06 fit100-12-functions 1 Readings and References Reading» Fluency with Information Technology
More informationJavascript. UNIVERSITY OF MASSACHUSETTS AMHERST CMPSCI 120 Fall 2010
Lecture 21 Javascript Announcements Reminder: beginning with Homework #7, Javascript assignments must be submitted using a format described in an attachment to HW#7 3rd Exam date set for 12/14 in Goessmann
More informationWebsite Design (Weekend) By Alabian Solutions Ltd , 2016
Website Design (Weekend) By Alabian Solutions Ltd 08034265103, info@alabiansolutions.com www.alabiansolutions.com 2016 TECHNOLOGIES DATE TIME Day1 Section 1 HTML Part 1 12am 5pm Intro to the web The web
More informationForms, CGI. Objectives
Forms, CGI Objectives The basics of HTML forms How form content is submitted GET, POST Elements that you can have in forms Responding to forms Common Gateway Interface (CGI) Later: Servlets Generation
More informationWeb Site Development with HTML/JavaScrip
Hands-On Web Site Development with HTML/JavaScrip Course Description This Hands-On Web programming course provides a thorough introduction to implementing a full-featured Web site on the Internet or corporate
More informationHTML 5 Tables and Forms
Tables for Tabular Data Display HTML 5 Tables and Forms Tables can be used to represet information in a two-dimensional format. Typical table applications include calendars, displaying product catelog,
More informationExternal HTML E-form Guide
External HTML E-form Guide A guide for creation and setup of external e- froms for FileBound. Document Version: 6.5.2 Published Date: 2/27/2014 - 2 - Copyright Copyright 2013 FileBound All Rights Reserved.
More informationcwhois Manual Copyright Vibralogix. All rights reserved.
cwhoistm V2.12 cwhois Manual Copyright 2003-2015 Vibralogix. All rights reserved. This document is provided by Vibralogix for informational purposes only to licensed users of the cwhois product and is
More informationCHAPTER 6: CREATING A WEB FORM CREATED BY L. ASMA RIKLI (ADAPTED FROM HTML, CSS, AND DYNAMIC HTML BY CAREY)
CHAPTER 6: CREATING A WEB FORM INTERACTION BETWEEN A WEB FORM AND A WEB SERVER Without a form, a website is read-only. It only provides information. EXAMPLES OF FORMS USAGE Performing searches Posting
More informationCITS3403 Agile Web Development Semester 1, 2018
Javascript Event Handling CITS3403 Agile Web Development Semester 1, 2018 Event Driven Programming Event driven programming or event based programming programming paradigm in which the flow of the program
More informationHTML. Asst. Prof. Dr. Kanda Runapongsa Saikaew Department of Computer Engineering Khon Kaen University
HTML Asst. Prof. Dr. Kanda Runapongsa Saikaew (krunapon@kku.ac.th) Department of Computer Engineering Khon Kaen University 1 What is an HTML File? HTML stands for Hyper Text Markup Language An HTML file
More informationDOM Primer Part 2. Contents
DOM Primer Part 2 Contents 1. Event Programming 1.1 Event handlers 1.2 Event types 1.3 Structure modification 2. Forms 2.1 Introduction 2.2 Scripting interface to input elements 2.2.1 Form elements 2.2.2
More information