blink.html 1/1 lectures/6/src/ form.html 1/1 lectures/6/src/

Size: px
Start display at page:

Download "blink.html 1/1 lectures/6/src/ form.html 1/1 lectures/6/src/"

Transcription

1 blink.html 1/1 3: blink.html 5: David J. Malan Computer Science E-75 7: Harvard Extension School 8: 9: --> 11: <!DOCTYPE html PUBLIC 1 "-//W3C//DTD XHTML 1.0 Transitional//EN" 13: " 1 15: <html xmlns=" 1 <head> 17: <script type="text/javascript"> 18: // <![CDATA[ 19: 20: function blinker() { 2 var blinks = document.getelementsbytagname("blink"); 23: for (var i = 0; i < blinks.length; i++) 2 { 25: if (blinks[i].style.visibility == "hidden") 2 blinks[i].style.visibility = "visible"; 27: else 28: blinks[i].style.visibility = "hidden"; 29: } 30: } 31: 3 window.setinterval(blinker, 500); 33: 3 // ]]> 35: </script> 3 <title></title> 37: </head> 38: <body> 39: <center> 40: <blink><h1>hello, world</h1></blink> 41: </center> 4 </body> 43: </html> form.html 1/1 3: form1.html 5: A form without client-side validation. 1 1 "-//W3C//DTD XHTML 1.0 Transitional//EN" 1 19: <title></title> 20: </head> <body> 2 <form action="process.php" method="get" name="login"> 23: Username: <input name="username" type="text" /> 2 <br /> 25: Password: <input name="password" type="password" /> 2 <br /><br /> 27: <input type="submit" value="submit" /> 28: </form> 29: 30: </body> 31: </html>

2 form1.html 1/1 3: form1.html 5: A form without client-side validation. 1 1 "-//W3C//DTD XHTML 1.0 Transitional//EN" 1 19: <title></title> 20: </head> <body> 2 <form action="process.php" method="get"> 23: <input name=" " type="text" /> 2 <br /> 25: Password: <input name="password1" type="password" /> 2 <br /> 27: Password (again): <input name="password2" type="password" /> 28: <br /> 29: I agree to the terms and conditions: <input name="agreement" type="checkbox" /> 30: <br /><br /> 31: <input type="submit" value="submit" /> 3 </form> 33: </body> 3 </html> form2.html 1/2 3: form2.html 5: A form with client-side validation. 1 1 "-//W3C//DTD XHTML 1.0 Transitional//EN" 1 2 function validate() 2 if (document.forms.registration. .value == "") 2 alert("you must provide an adddress."); 27: return false; 29: else if (document.forms.registration.password1.value == "") 30: { 31: alert("you must provide a password."); 3 return false; 33: } 3 else if (document.forms.registration.password1.value!= document.forms.registration.password2.value) 35: { 3 alert("you must provide the same password twice."); 37: return false; 38: } 39: else if (!document.forms.registration.agreement.checked) 40: { 41: alert("you must agree to our terms and conditions."); 4 return false; 43: } 4 return true; 4 47: // ]]>

3 form2.html 2/2 48: </script> 49: <title></title> 50: </head> 51: <body> 5 <form action="process.php" id="registration" method="get" onsubmit="return validate();"> 53: <input name=" " type="text" /> 5 <br /> 55: Password: <input name="password1" type="password" /> 5 <br /> 57: Password (again): <input name="password2" type="password" /> 58: <br /> 59: I agree to the terms and conditions: <input name="agreement" type="checkbox" /> 60: <br /><br /> 61: <input type="submit" value="submit" /> 6 </form> 63: </body> 6 </html> form3.html 1/2 3: form3.html 5: A form with client-side validation demonstrating "with" keyword. 1 1 "-//W3C//DTD XHTML 1.0 Transitional//EN" 1 2 function validate() 2 with (document.forms.registration) 2 if ( .value == "") 27: { 28: alert("you must provide an adddress."); 29: return false; 30: } 31: else if (password1.value == "") 3 { 33: alert("you must provide a password."); 3 return false; 35: } 3 else if (password1.value!= password2.value) 37: { 38: alert("you must provide the same password twice."); 39: return false; 40: } 41: else if (!agreement.checked) 4 { 43: alert("you must agree to our terms and conditions."); 4 return false; 4 return true; 47: }

4 form3.html 2/2 48: } 49: 50: // ]]> 51: </script> 5 <title></title> 53: </head> 5 <body> 55: <form action="process.php" method="get" name="registration" onsubmit="return validate();"> 5 <input name=" " type="text" /> 57: <br /> 58: Password: <input name="password1" type="password" /> 59: <br /> 60: Password (again): <input name="password2" type="password" /> 61: <br /> 6 I agree to the terms and conditions: <input name="agreement" type="checkbox" /> 63: <br /><br /> 6 <input type="submit" value="submit" /> 65: </form> 6 </body> 67: </html> form4.html 1/2 3: form4.html 5: A form with client-side validation demonstrating "this" keyword. 1 1 "-//W3C//DTD XHTML 1.0 Transitional//EN" 1 2 function validate(f) 2 if (f. .value == "") 2 alert("you must provide an adddress."); 27: return false; 29: else if (f.password1.value == "") 30: { 31: alert("you must provide a password."); 3 return false; 33: } 3 else if (f.password1.value!= f.password2.value) 35: { 3 alert("you must provide the same password twice."); 37: return false; 38: } 39: else if (!f.agreement.checked) 40: { 41: alert("you must agree to our terms and conditions."); 4 return false; 43: } 4 return true; 4 47: // ]]>

5 form4.html 2/2 48: </script> 49: <title></title> 50: </head> 51: <body> 5 <form action="process.php" method="get" onsubmit="return validate(this);"> 53: <input name=" " type="text" /> 5 <br /> 55: Password: <input name="password1" type="password" /> 5 <br /> 57: Password (again): <input name="password2" type="password" /> 58: <br /> 59: I agree to the terms and conditions: <input name="agreement" type="checkbox" /> 60: <br /><br /> 61: <input type="submit" value="submit" /> 6 </form> 63: </body> 6 </html> form5.html 1/2 3: form5.html 5: A form with client-side validation demonstrating disabled property. 1 1 "-//W3C//DTD XHTML 1.0 Transitional//EN" 1 2 function toggle() 2 if (document.forms.registration.button.disabled) 25: document.forms.registration.button.disabled = false; 2 else 27: document.forms.registration.button.disabled = true; 29: 30: function validate() 31: { 3 if (document.forms.registration. .value == "") 33: { 3 alert("you must provide an adddress."); 35: return false; 3 } 37: else if (document.forms.registration.password1.value == "") 38: { 39: alert("you must provide a password."); 40: return false; 41: } 4 else if (document.forms.registration.password1.value!= document.forms.registration.password2.value) 43: { 4 alert("you must provide the same password twice."); 45: return false; 4 } 47: else if (!document.forms.registration.agreement.checked)

6 form5.html 2/2 48: { 49: alert("you must agree to our terms and conditions."); 50: return false; 51: } 5 return true; 53: } 5 55: // ]]> 5 </script> 57: <title></title> 58: </head> 59: <body> 60: <form action="process.php" method="get" name="registration" onsubmit="return validate();"> 61: <input name=" " type="text" /> 6 <br /> 63: Password: <input name="password1" type="password" /> 6 <br /> 65: Password (again): <input name="password2" type="password" /> 6 <br /> 67: I agree to the terms and conditions: <input name="agreement" onclick="toggle();" type="checkbox" /> 68: <br /><br /> 69: <input disabled="disabled" name="button" type="submit" value="submit" /> 70: </form> 71: </body> 7 </html> form6.html 1/2 3: form6.html 5: A form with client-side validation demonstrating inline JavaScript. 1 1 "-//W3C//DTD XHTML 1.0 Transitional//EN" 1 2 function validate() 2 if (document.forms.registration. .value == "") 2 alert("you must provide an adddress."); 27: return false; 29: else if (document.forms.registration.password1.value == "") 30: { 31: alert("you must provide a password."); 3 return false; 33: } 3 else if (document.forms.registration.password1.value!= document.forms.registration.password2.value) 35: { 3 alert("you must provide the same password twice."); 37: return false; 38: } 39: else if (!document.forms.registration.agreement.checked) 40: { 41: alert("you must agree to our terms and conditions."); 4 return false; 43: } 4 return true; 4 47: // ]]>

7 form6.html 2/2 48: </script> 49: <title></title> 50: </head> 51: <body> 5 <form action="process.php" method="get" name="registration" onsubmit="return validate();"> 53: <input name=" " type="text" /> 5 <br /> 55: Password: <input name="password1" type="password" /> 5 <br /> 57: Password (again): <input name="password2" type="password" /> 58: <br /> 59: I agree to the terms and conditions: <input name="agreement" onclick="document.forms.registration.button.disa bled =!document.forms.registration.button.disabled;" type="checkbox" /> 60: <br /><br /> 61: <input disabled="disabled" name="button" type="submit" value="submit" /> 6 </form> 63: </body> 6 </html> form7.html 1/2 3: form7.html 5: A form with client-side validation demonstrating regular expressions. 1 1 "-//W3C//DTD XHTML 1.0 Transitional//EN" 1 2 function validate() 2 if (!document.forms.registration. .value.match(/.+@.+\.edu$/)) 2 alert("you must provide a.edu adddress."); 27: return false; 29: else if (document.forms.registration.password1.value == "") 30: { 31: alert("you must provide a password."); 3 return false; 33: } 3 else if (document.forms.registration.password1.value!= document.forms.registration.password2.value) 35: { 3 alert("you must provide the same password twice."); 37: return false; 38: } 39: else if (!document.forms.registration.agreement.checked) 40: { 41: alert("you must agree to our terms and conditions."); 4 return false; 43: } 4 return true; 4 47: // ]]>

8 form7.html 2/2 48: </script> 49: <title></title> 50: </head> 51: <body> 5 <form action="process.php" method="get" name="registration" onsubmit="return validate();"> 53: <input name=" " type="text" /> 5 <br /> 55: Password: <input name="password1" type="password" /> 5 <br /> 57: Password (again): <input name="password2" type="password" /> 58: <br /> 59: I agree to the terms and conditions: <input name="agreement" type="checkbox" /> 60: <br /><br /> 61: <input type="submit" value="submit" /> 6 </form> 63: </body> 6 </html> javascript.html 1/1 1: <!DOCTYPE html PUBLIC 3: "-//W3C//DTD XHTML 1.0 Transitional//EN" " 5: <html xmlns=" 7: <head> 8: <title></title> 9: </head> <body> 11: <script type="text/javascript"> 1 // <![CDATA[ 13: 1 document.write("hello, world!"); 15: 1 // ]]> 17: </script> 18: </body> 19: </html>

9 process.php 1/1 quick and dirty dump of HTTP request --> 3: <pre> <? print_r($_request);?> 5: </pre> process.phps 1/1 quick and dirty dump of HTTP request --> 3: <pre> <? print_r($_request);?> 5: </pre>

ajax1.html 1/2 lectures/9/src/ajax/ ajax1.html 2/2 lectures/9/src/ajax/

ajax1.html 1/2 lectures/9/src/ajax/ ajax1.html 2/2 lectures/9/src/ajax/ ajax1.html 1/2 3: ajax1.html 5: Gets stock quote from quote1.php via Ajax, displaying result with alert(). 6: 7: Computer Science 50 8: David J. Malan 9: 10: --> 1 1 15: 16:

More information

ajax1.html 1/2 lectures/7/src/ ajax1.html 2/2 lectures/7/src/

ajax1.html 1/2 lectures/7/src/ ajax1.html 2/2 lectures/7/src/ ajax1.html 1/2 3: ajax1.html 5: Gets stock quote from quote1.php via Ajax, displaying result with alert(). 6: 7: David J. Malan 8: Dan Armendariz 9: Computer Science E-75 10: Harvard Extension School 11:

More information

Computer Science E-75 Building Dynamic Websites

Computer 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 information

home.php 1/1 lectures/6/src/ include.php 1/1 lectures/6/src/

home.php 1/1 lectures/6/src/ include.php 1/1 lectures/6/src/ home.php 1/1 3: * home.php 5: * A simple home page for these login demos. 6: * David J. Malan 8: * Computer Science E-75 9: * Harvard Extension School 10: */ 11: // enable sessions 13: session_start();

More information

map1.html 1/1 lectures/8/src/

map1.html 1/1 lectures/8/src/ map1.html 1/1 3: map1.html 5: Demonstrates a "hello, world" of maps. 7: Computer Science E-75 8: David J. Malan 9: 10: --> 1 13:

More information

JavaScript CSCI 201 Principles of Software Development

JavaScript CSCI 201 Principles of Software Development JavaScript CSCI 201 Principles of Software Development Jeffrey Miller, Ph.D. jeffrey.miller@usc.edu Outline JavaScript Program USC CSCI 201L JavaScript JavaScript is a front-end interpreted language that

More information

html head script script script function function script title title head body form input input form body html

html head script script script function function script title title head body form input input form body html ajax0.html 1 3 4 5 6 7 8 function quote() 9 { 10 $.getjson("/quote", {symbol: $("#symbol").val()},

More information

Form Processing in PHP

Form 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 information

Introduction to DHTML

Introduction 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 information

Schenker AB. Interface documentation Map integration

Schenker AB. Interface documentation Map integration Schenker AB Interface documentation Map integration Index 1 General information... 1 1.1 Getting started...1 1.2 Authentication...1 2 Website Map... 2 2.1 Information...2 2.2 Methods...2 2.3 Parameters...2

More information

Consider the following file A_Q1.html.

Consider 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 information

COM1004 Web and Internet Technology

COM1004 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 information

Unit Notes. ICAWEB411A Produce basic client-side script for dynamic web pages Topic 1 Introduction to JavaScript

Unit Notes. ICAWEB411A Produce basic client-side script for dynamic web pages Topic 1 Introduction to JavaScript Unit Notes ICAWEB411A Produce basic client-side script for dynamic web pages Topic 1 Introduction to JavaScript Copyright, 2013 by TAFE NSW - North Coast Institute Date last saved: 18 September 2013 by

More information

Q1. What is JavaScript?

Q1. 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 information

Chapter 4 Sending Data to Your Application

Chapter 4 Sending Data to Your Application Chapter 4 Sending Data to Your Application Charles Severance and Jim Eng csev@umich.edu jimeng@umich.edu Textbook: Using Google App Engine, Charles Severance Unless otherwise noted, the content of this

More information

Implementing a chat button on TECHNICAL PAPER

Implementing a chat button on TECHNICAL PAPER Implementing a chat button on TECHNICAL PAPER Contents 1 Adding a Live Guide chat button to your Facebook page... 3 1.1 Make the chat button code accessible from your web server... 3 1.2 Create a Facebook

More information

Phishing attempt 1. 2. 3. 4.

More information

Spring 2014 Interim. HTML forms

Spring 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 information

Documents and computation. Introduction to JavaScript. JavaScript vs. Java Applet. Myths. JavaScript. Standard

Documents and computation. Introduction to JavaScript. JavaScript vs. Java Applet. Myths. JavaScript. Standard Introduction to Prof. Ing. Andrea Omicini II Facoltà di Ingegneria, Cesena Alma Mater Studiorum, Università di Bologna andrea.omicini@unibo.it Documents and computation HTML Language for the description

More information

Create a cool image gallery using CSS visibility and positioning property

Create a cool image gallery using CSS visibility and positioning property GRC 275 A8 Create a cool image gallery using CSS visibility and positioning property 1. Create a cool image gallery, having thumbnails which when moused over display larger images 2. Gallery must provide

More information

Introduction to HTML5

Introduction to HTML5 Introduction to HTML5 History of HTML 1991 HTML first published 1995 1997 1999 2000 HTML 2.0 HTML 3.2 HTML 4.01 XHTML 1.0 After HTML 4.01 was released, focus shifted to XHTML and its stricter standards.

More information

A designers guide to creating & editing templates in EzPz

A designers guide to creating & editing templates in EzPz A designers guide to creating & editing templates in EzPz Introduction...2 Getting started...2 Actions...2 File Upload...3 Tokens...3 Menu...3 Head Tokens...4 CSS and JavaScript included files...4 Page

More information

What is XHTML? XHTML is the language used to create and organize a web page:

What is XHTML? XHTML is the language used to create and organize a web page: XHTML Basics What is XHTML? XHTML is the language used to create and organize a web page: XHTML is newer than, but built upon, the original HTML (HyperText Markup Language) platform. XHTML has stricter

More information

HTML Forms IT WS I - Lecture 11

HTML Forms IT WS I - Lecture 11 HTML Forms IT WS I - Lecture 11 Saurabh Barjatiya International Institute Of Information Technology, Hyderabad 04 October, 2009 Contents Seeing submitted values 1 Seeing submitted values 2 3 Seeing submitted

More information

User Guide for Direct Post Method Direct Redirect

User Guide for Direct Post Method Direct Redirect User Guide for Direct Post Method Direct Redirect Version 4.0 Last Updated: 10/2/2017 Table of Contents Document Version... 4 Contact Information... 4 Direct Post Options... 5 Introduction... 6 1 Concept

More information

Computer Science E-1. Understanding Computers and the Internet. Lecture 10: Website Development Wednesday, 29 November 2006

Computer Science E-1. Understanding Computers and the Internet. Lecture 10: Website Development Wednesday, 29 November 2006 Computer Science E-1 Understanding Computers and the Internet Lecture 10: Website Development Wednesday, 29 November 2006 David J. Malan malan@post.harvard.edu 1 Agenda Webservers Structure Permissions

More information

HTML Forms. By Jaroslav Mohapl

HTML 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 information

EXPERIMENT OBJECTIVE:

EXPERIMENT OBJECTIVE: EXPERIMENT-1 1.1 To accept a number from one text field in the range of 0 to 999 and shows it in another text field in words. If the number is out of range, it should show out of range and if it is not

More information

User Guide for Direct Post Method JavaScript Relay URL Redirect

User Guide for Direct Post Method JavaScript Relay URL Redirect User Guide for Direct Post Method JavaScript Relay URL Redirect Version 4.0 Last Updated: 10/2/2017 Table of Contents Document Version... 4 Contact Information... 4 Direct Post Options... 5 Introduction...

More information

Overview of Forms. Forms are used all over the Web to: Types of forms: Accept information Provide interactivity

Overview 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 information

CMPT 165 INTRODUCTION TO THE INTERNET AND THE WORLD WIDE WEB

CMPT 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 information

Using netbeans create a new Web Application and select the framework as JSF 2.2

Using netbeans create a new Web Application and select the framework as JSF 2.2 Using netbeans create a new Web Application and select the framework as JSF 2.2 Following is the final structure of the project: index.xhtml

More information

<form>. input elements. </form>

<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 information

Chapter4: 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 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 information

1 Form Basics CSC309

1 Form Basics CSC309 1 Form Basics Web Data 2! Most interesting web pages revolve around data! examples: Google, IMDB, Digg, Facebook, YouTube! can take many formats: text, HTML, XML, multimedia! Many of them allow us to access

More information

Ajax Application Design

Ajax Application Design Ajax Application Design Reuven M. Lerner Abstract Asynchronous is the operative word with Ajax, and here's what it's all about. During the past few months, I've used this column to explore a number of

More information

MVC :: Understanding Views, View Data, and HTML Helpers

MVC :: Understanding Views, View Data, and HTML Helpers MVC :: Understanding Views, View Data, and HTML Helpers The purpose of this tutorial is to provide you with a brief introduction to ASP.NET MVC views, view data, and HTML Helpers. By the end of this tutorial,

More information

Learning JavaScript. A C P K Siriwardhana, BSc, MSc

Learning JavaScript. A C P K Siriwardhana, BSc, MSc Learning JavaScript A C P K Siriwardhana, BSc, MSc Condition Statements If statements loop statements switch statement IF THEN ELSE If something is true, take a specified action. If false, take some other

More information

At the Forge Prototype Reuven M. Lerner Abstract Prototype eases the burden of using JavaScript in Ajax. During the last few months, we have looked at ways to use JavaScript, a version of which is included

More information

(X)HTML. Internet Engineering. Spring Bahador Bakhshi CE & IT Department, Amirkabir University of Technology

(X)HTML. Internet Engineering. Spring Bahador Bakhshi CE & IT Department, Amirkabir University of Technology (X)HTML Internet Engineering Spring 2018 Bahador Bakhshi CE & IT Department, Amirkabir University of Technology Questions Q2) How is a web page organized? Q2.1) What language is used for web pages? Q2.2)

More information

CP3343 Computer Science Project (Year) Technical Report Document. Mr Stephen Garner

CP3343 Computer Science Project (Year) Technical Report Document. Mr Stephen Garner CP3343 Computer Science Project (Year) Technical Report Document Mr Stephen Garner Colin Hopson 0482647 Wednesday 23 rd April 2008 i Contents 1 Introduction... 1 2 The Program Listing... 1 2.1 ASP.Net

More information

CPSC 481: CREATIVE INQUIRY TO WSBF

CPSC 481: CREATIVE INQUIRY TO WSBF CPSC 481: CREATIVE INQUIRY TO WSBF J. Yates Monteith, Fall 2013 Schedule HTML and CSS PHP HTML Hypertext Markup Language Markup Language. Does not execute any computation. Marks up text. Decorates it.

More information

MI1004 Script programming and internet applications

MI1004 Script programming and internet applications MI1004 Script programming and internet applications Course content and details Learn > Course information > Course plan Learning goals, grades and content on a brief level Learn > Course material Study

More information

CSC309 Midterm Exam Summer 2007

CSC309 Midterm Exam Summer 2007 UNIVERSITY OF TORONTO Faculty of Arts and Science Midterm Exam July 2007 CSC 309 H1 F Instructor Dr. Radu Negulescu Duration 1 hour Examination Aids: One single-sided page containing notes NAME STUDENT

More information

Exam 2 Reference Packet

Exam 2 Reference Packet CS 328 - Exam 2-2015-04-08 p. 1 For Problem 5 Exam 2 Reference Packet Number of cups:

More information

DEV BHOOMI INSTITUTE OF TECHNOLOGY Department of Computer Science and Engineering. Algorithm lab- PCS-553 LAB MANUAL

DEV BHOOMI INSTITUTE OF TECHNOLOGY Department of Computer Science and Engineering. Algorithm lab- PCS-553 LAB MANUAL Department of Computer Science and Engineering Year: 3rd Semester: 5th Algorithm lab- PCS-553 Prepared By: HOD(CSE) 1 Department of Computer Science and Engineering INDEX S.No Practical s Name Tools Remark

More information

Using htmlarea & a Database to Maintain Content on a Website

Using htmlarea & a Database to Maintain Content on a Website Using htmlarea & a Database to Maintain Content on a Website by Peter Lavin December 30, 2003 Overview If you wish to develop a website that others can contribute to one option is to have text files sent

More information

Copyright 2011 Sakun Sharma

Copyright 2011 Sakun Sharma Maintaining Sessions in JSP We need sessions for security purpose and multiuser support. Here we are going to use sessions for security in the following manner: 1. Restrict user to open admin panel. 2.

More information

JavaScript s role on the Web

JavaScript 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 information

At the Forge Beginning Ajax Reuven M. Lerner Abstract How to put the A (asynchronous) in Ajax. Many programmers, myself included, have long seen JavaScript as a way to change the appearance of a page of

More information

Scripting for Multimedia LECTURE 1: INTRODUCING HTML5

Scripting for Multimedia LECTURE 1: INTRODUCING HTML5 Scripting for Multimedia LECTURE 1: INTRODUCING HTML5 HTML An acronym for Hypertext Markup Language Basic language of WWW documents HTML documents consist of text, including tags that describe document

More information

Week 1 - Overview of HTML and Introduction to JavaScript

Week 1 - Overview of HTML and Introduction to JavaScript ITEC 136 Business Programming Concepts Week 1 Module 1: Overview of HTML and Course overview Agenda This week s expected outcomes This week s topics This week s homework Upcoming deadlines Questions and

More information

Hyperlinks, Tables, Forms and Frameworks

Hyperlinks, 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 information

Lesson 3. Form By Raymond Tsang. Certificate Programme in Cyber Security

Lesson 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 information

By 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: 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 information

HTML forms and the dynamic web

HTML 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 information

Web Services DELMIA Apriso 2017 Implementation Guide

Web Services DELMIA Apriso 2017 Implementation Guide Web Services DELMIA Apriso 2017 Implementation Guide 2016 Dassault Systèmes. Apriso, 3DEXPERIENCE, the Compass logo and the 3DS logo, CATIA, SOLIDWORKS, ENOVIA, DELMIA, SIMULIA, GEOVIA, EXALEAD, 3D VIA,

More information

ITS331 IT Laboratory I: (Laboratory #11) Session Handling

ITS331 IT Laboratory I: (Laboratory #11) Session Handling School of Information and Computer Technology Sirindhorn International Institute of Technology Thammasat University ITS331 Information Technology Laboratory I Laboratory #11: Session Handling Creating

More information

Azblink API for Sending XMPP Messages via HTTP POST

Azblink API for Sending XMPP Messages via HTTP POST Azblink API for Sending XMPP Messages via HTTP POST Abstract: This document is to describe the API of Azblink SBC for sending XMPP messages via HTTP POST. This is intended for the systems or the devices

More information

JSF - H:INPUTSECRET. Class name of a validator that s created and attached to a component

JSF - H:INPUTSECRET. Class name of a validator that s created and attached to a component http://www.tutorialspoint.com/jsf/jsf_inputsecret_tag.htm JSF - H:INPUTSECRET Copyright tutorialspoint.com The h:inputsecret tag renders an HTML input element of the type "password". JSF Tag

More information

Using an ArcGIS Server.Net version 10

Using an ArcGIS Server.Net version 10 Using an ArcGIS Server.Net version 10 Created by Vince DiNoto Vince.dinoto@kctcs.edu Contents Concept... 2 Prerequisites... 2 Data... 2 Process... 3 Creating a Service... 3 Down Loading Shapefiles... 3

More information

Chettinad College of Engineering and Technology CHETTINAD COLLEGE OF ENGINEERING AND TECHNOLOGY DEPARTMENT OF COMPUTER SCIENCE AND TECHNOLOGY

Chettinad College of Engineering and Technology CHETTINAD COLLEGE OF ENGINEERING AND TECHNOLOGY DEPARTMENT OF COMPUTER SCIENCE AND TECHNOLOGY CHETTINAD COLLEGE OF ENGINEERING AND TECHNOLOGY DEPARTMENT OF COMPUTER SCIENCE AND TECHNOLOGY UNIT IV SERVLETS 1. What is Servlets? a. Servlets are server side components that provide a powerful mechanism

More information

Extensible Markup Language (XML) Hamid Zarrabi-Zadeh Web Programming Fall 2013

Extensible Markup Language (XML) Hamid Zarrabi-Zadeh Web Programming Fall 2013 Extensible Markup Language (XML) Hamid Zarrabi-Zadeh Web Programming Fall 2013 2 Outline Introduction XML Structure Document Type Definition (DTD) XHMTL Formatting XML CSS Formatting XSLT Transformations

More information

introduction to XHTML

introduction to XHTML introduction to XHTML XHTML stands for Extensible HyperText Markup Language and is based on HTML 4.0, incorporating XML. Due to this fusion the mark up language will remain compatible with existing browsers

More information

CSE 154 LECTURE 8: FORMS

CSE 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 information

ASP.NET Security. 7/26/2017 EC512 Prof. Skinner 1

ASP.NET Security. 7/26/2017 EC512 Prof. Skinner 1 ASP.NET Security 7/26/2017 EC512 Prof. Skinner 1 ASP.NET Security Architecture 7/26/2017 EC512 Prof. Skinner 2 Security Types IIS security Not ASP.NET specific Requires Windows accounts (NTFS file system)

More information

Wed 02 Nov :01:06 AM EST modpow.html

Wed 02 Nov :01:06 AM EST modpow.html Wed 02 Nov 2005 02:01:06 AM EST modpow.html

More information

This is CS 50. Harvard College Fall Quiz 1. out of 62 points. Print your name on the line below.

This is CS 50. Harvard College Fall Quiz 1. out of 62 points. Print your name on the line below. Quiz 1 out of 62 points Print your name on the line below. Do not turn this page over until told by the staff to do so. This quiz is closed-book. However, you may utilize during the quiz one two-sided

More information

Web Development & Design Foundations with XHTML. Chapter 2 Key Concepts

Web Development & Design Foundations with XHTML. Chapter 2 Key Concepts Web Development & Design Foundations with XHTML Chapter 2 Key Concepts Learning Outcomes In this chapter, you will learn about: XHTML syntax, tags, and document type definitions The anatomy of a web page

More information

<tr><td>last Name </td><td><input type="text" name="shippingaddress-last-name"

<tr><td>last Name </td><td><input type=text name=shippingaddress-last-name // API Setup Parameters $gatewayurl = 'https://secure.payscout.com/api/v2/three-step'; $APIKey = '2F822Rw39fx762MaV7Yy86jXGTC7sCDy'; // If there is no POST data or a token-id, print the initial Customer

More information

PHP 5 if...else...elseif Statements

PHP 5 if...else...elseif Statements PHP 5 if...else...elseif Statements Conditional statements are used to perform different actions based on different conditions. PHP Conditional Statements Very often when you write code, you want to perform

More information

Stateless Session Bean

Stateless Session Bean Stateless Session Bean Stateful Session Bean Developing EJB applications Stateless beans are used in the case when the process or action can be completed in one go. In this case, object state will not

More information

Writing Perl Programs using Control Structures Worked Examples

Writing Perl Programs using Control Structures Worked Examples Writing Perl Programs using Control Structures Worked Examples Louise Dennis October 27, 2004 These notes describe my attempts to do some Perl programming exercises using control structures and HTML Forms.

More information

HTML Overview. With an emphasis on XHTML

HTML Overview. With an emphasis on XHTML HTML Overview With an emphasis on XHTML What is HTML? Stands for HyperText Markup Language A client-side technology (i.e. runs on a user s computer) HTML has a specific set of tags that allow: the structure

More information

The 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 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 information

CS134 Web Site Design & Development. Quiz1

CS134 Web Site Design & Development. Quiz1 CS134 Web Site Design & Development Quiz1 Name: Score: Email: I Multiple Choice Questions (2 points each, total 20 points) 1. Which of the following is an example of an IP address? a. www.whitehouse.gov

More information

Building Desktop RIAs with PHP, HTML & Javascript in AIR. Ed Finkler, ZendCon08, September 17, 2008 funkatron.com /

Building Desktop RIAs with PHP, HTML & Javascript in AIR. Ed Finkler, ZendCon08, September 17, 2008 funkatron.com / Building Desktop RIAs with PHP, HTML & Javascript in AIR Ed Finkler, ZendCon08, September 17, 2008 funkatron.com / funkatron@gmail.com What is AIR? For the desktop Not a browser plugin Build desktop apps

More information

Psychology Experiments on the Web Using PHP and MySQL

Psychology Experiments on the Web Using PHP and MySQL Psychology Experiments on the Web Using PHP and MySQL Lisa M. DeBruine August 14, 2008 Contents 1 Basic Web Authoring 2 1.1 Setting up your webpage....................... 2 1.2 HTML.................................

More information

HTML HTML. Chris Seddon CRS Enterprises Ltd 1

HTML HTML. Chris Seddon CRS Enterprises Ltd 1 Chris Seddon seddon-software@keme.co.uk 2000-12 CRS Enterprises Ltd 1 2000-12 CRS Enterprises Ltd 2 Reference Sites W3C W3C w3schools DevGuru Aptana GotAPI Dog http://www.w3.org/ http://www.w3schools.com

More information

At the Forge RJS Templates Reuven M. Lerner Abstract The power of Ajax to fetch and run JavaScript generated by your server-side language. The past few months, I've written a number of articles in this

More information

JSF - H:PANELGRID. JSF Tag. Rendered Output. Tag Attributes. The h:panel tag renders an HTML "table" element. Attribute & Description.

JSF - H:PANELGRID. JSF Tag. Rendered Output. Tag Attributes. The h:panel tag renders an HTML table element. Attribute & Description. http://www.tutorialspoint.com/jsf/jsf_panelgrid_tag.htm JSF - H:PANELGRID Copyright tutorialspoint.com The h:panel tag renders an HTML "table" element. JSF Tag

More information

HTML Tables and Forms. Outline. Review. Review. Example Demo/ Walkthrough. CS 418/518 Web Programming Spring Tables to Display Data"

HTML 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 information

Wicket and Aida/Web Brief Comparison

Wicket and Aida/Web Brief Comparison Wicket and Aida/Web Brief Comparison Jaroslav Havlín ČVUT FEL Subject X36ASS Introduction The aim of this project is to design a simple reservation system for a small restaurant and to implement it twice,

More information

TRAINING GUIDE. Rebranding Lucity Web

TRAINING GUIDE. Rebranding Lucity Web TRAINING GUIDE Rebranding Lucity Web Rebranding Lucity Web Applications In this booklet, we ll show how to make the Lucity web applications your own by matching your agency s style. Table of Contents Web

More information

Fetch terms and conditions apply. Fetch is only available for business banking purposes. The Kiwibank Fetch name, logos and related trademarks and

Fetch terms and conditions apply. Fetch is only available for business banking purposes. The Kiwibank Fetch name, logos and related trademarks and Fetch terms and conditions apply. Fetch is only available for business banking purposes. The Kiwibank This form submits a single amount to Fetch and then returns/displays

More information

Part A Short Answer (50 marks)

Part A Short Answer (50 marks) Part A Short Answer (50 marks) NOTE: Answers for Part A should be no more than 3-4 sentences long. 1. (5 marks) What is the purpose of HTML? What is the purpose of a DTD? How do HTML and DTDs relate to

More information

Project 3 CIS 408 Internet Computing

Project 3 CIS 408 Internet Computing Problem 1: Project 3 CIS 408 Internet Computing Simple Table Template Processing with Java Script and DOM This project has you run code in your browser. Create a file TableTemplate.js that implements a

More information

Produced by. App Development & Modeling. BSc in Applied Computing. Eamonn de Leastar

Produced by. App Development & Modeling. BSc in Applied Computing. Eamonn de Leastar App Development & Modeling BSc in Applied Computing Produced by Eamonn de Leastar (edeleastar@wit.ie) Department of Computing, Maths & Physics Waterford Institute of Technology http://www.wit.ie http://elearning.wit.ie

More information

SMS GATEWAY API INTEGRATION GUIDE

SMS GATEWAY API INTEGRATION GUIDE SMS GATEWAY API INTEGRATION GUIDE For PHP Developers Are you a developer or bulk SMS reseller? You can interface your application, website or system with our 247 reliable messaging gateway by using our

More information

COPYRIGHT 2012 DROIDLA LIMITED

COPYRIGHT 2012 DROIDLA LIMITED Integrating with your Website COPYRIGHT 2012 DROIDLA LIMITED ALL RIGHTS RESERVED DROIDLA LIMITED v1.0 - NOVEMBER 2012 Contents OVERVIEW OF THE INTEGRATION PROCESS... 2 1. CREATE AN ACCOUNT... 2 2. ACCEPT

More information

How the Internet Works

How the Internet Works How the Internet Works The Internet is a network of millions of computers. Every computer on the Internet is connected to every other computer on the Internet through Internet Service Providers (ISPs).

More information

HTML. HTML Evolution

HTML. HTML Evolution Overview stands for HyperText Markup Language. Structured text with explicit markup denoted within < and > delimiters. Not what-you-see-is-what-you-get (WYSIWYG) like MS word. Similar to other text markup

More information

HTML: The Basics & Block Elements

HTML: The Basics & Block Elements HTML: The Basics & Block Elements CISC 282 September 13, 2017 What is HTML? Hypertext Markup Language Markup language "Set of words or symbols" Assigns properties to text Not actually part of the text

More information

Everything you need to know to get you started. By Kevin DeRudder

Everything you need to know to get you started. By Kevin DeRudder Everything you need to know to get you started with HTML5 By Kevin DeRudder @kevinderudder working for eguidelines and a lecturer at the Technical University of West Flanders. Contact me on kevin@e-guidelines.be

More information

PRÍLOHY PRÍLOHY. Príloha 1 Náhľady vybraných podstránok webovej stránky

PRÍLOHY PRÍLOHY. Príloha 1 Náhľady vybraných podstránok webovej stránky PRÍLOHY Príloha 1 Náhľady vybraných podstránok webovej stránky Príloha 2 Vybrané časti zdrojového kódu V Prílohe 3 sa nachádza len niekoľko vybraných častí zdrojového kódu projektu. Kompletný zdrojový

More information

Building Your Blog Audience. Elise Bauer & Vanessa Fox BlogHer Conference Chicago July 27, 2007

Building Your Blog Audience. Elise Bauer & Vanessa Fox BlogHer Conference Chicago July 27, 2007 Building Your Blog Audience Elise Bauer & Vanessa Fox BlogHer Conference Chicago July 27, 2007 1 Content Community Technology 2 Content Be. Useful Entertaining Timely 3 Community The difference between

More information

5.5 FORM form ex28.html <html> <head>

5.5 FORM form ex28.html <html> <head> 5.5 FORM form ex28.html function calc() { var ar = document.getelementbyid("ar"); if(n1.value == "" n2.value == "") { window.alert(""); else { var eq = n1.value + ar.options[ar.selectedindex].value

More information