Slightly more advanced JavaScript

Size: px
Start display at page:

Download "Slightly more advanced JavaScript"

Transcription

1 Slightly more advanced JavaScript

2 onclick attribute A lot of HTML elements can be given the onclick attribute. This allows for something to happen when the element is clicked. A simple use of the onclick attribute is to display an alert, which does not even require writing any extra JavaScript code. <h1 onclick="alert('hello!')">a heading</h1>

3 onclick attribute A more common use for the onclick attribute is to call a function. <input type="button" value="click me" onclick="myfunction()">

4 Finding and modifying elements To find some specific element on the page, use document.getelementbyid("someid"); To change the content of some element, use someelement.innerhtml=somethingelse;

5 Changing content of a paragraph <script type="text/javascript"> function change() { var myparagraph = document.getelementbyid("p1"); myparagraph.innerhtml="new text."; } </script> <p id="p1">old text.</p> <input type="button" value="change text" onclick="change()">

6 Shorter version <script type="text/javascript"> function change() { document.getelementbyid("p1").innerhtml="new text."; } </script> <p id="p1">old text.</p> <input type="button" value="change text" onclick="change()">

7 Introducing conditions Sometimes, we may want something to happen only if a certain condition is satisfied. For this purpose, we use the if statement. if (some condition) { some action } else { some other action }

8 Introducing conditions Usually, the condition part in the parentheses is some equality or inequality. Equality is checked with ==. For example, a condition might be: if (mystring=="chocolate") { p3.innerhtml="tasty"; }

9 Modifying attributes of elements To change the attribute of some element, use element.attribute="something else"; p1=document.getelementbyid('p1'); p1.style="color:red"; img3=document.getelementbyid('logo'); img3.src="logo2.png";

10 Changing attributes example <script type="text/javascript"> function changecolor() { document.getelementbyid("heading").style="color:blue"; } </script> <h1 id="heading" style="color:red" onclick="changecolor()">heading</h1>

11 Changing attributes example <script type="text/javascript"> function changelink() { mylink=document.getelementbyid("link"); if (mylink.innerhtml == "Link to Google") {mylink.href=" mylink.innerhtml="link to Yahoo";} else {mylink.href=" mylink.innerhtml="link to Google";} } </script> <a href=" id="link">link to Google</a> <br> <br> <input type="button" value="change Link" onclick="changelink()">

12 More complex example For the next example, we will create a multiple choice quiz which grades itself. We have all the tools we need to do this, except the following one: Given a checkbox or radio button, the.checked method returns true if the checkbox or radio button is checked, and false if it is not checked.

13 More complex example First, we create the outline of a question with 4 answers: <h3>quiz</h3> <p>question 1</p> <p> <input name="question1" type="radio">choice 1<br> <input name="question1" type="radio">choice 2<br> <input name="question1" type="radio">choice 3<br> <input name="question1" type="radio">choice 4<br> </p>

14 More complex example In an actual quiz, this may look something like: <h3>quiz</h3> <p>which of the following countries is <em>not</em> in Africa?</p> <p> <input name="question1" type="radio">egypt<br> <input name="question1" type="radio">angola<br> <input name="question1" type="radio">ecuador<br> <input name="question1" type="radio">tanzania<br> </p>

15 More complex example We will then give an id attribute to the correct answer choice. <p> <input name="question1" type="radio">egypt<br> <input name="question1" type="radio">angola<br> <input name="question1" type="radio" id="correct1">ecuador<br> <input name="question1" type="radio">tanzania<br> </p>

16 More complex example We continue doing this for every question. Eventually, we have several questions, and each question has one input element (the one containing the correct answer choice) with an id. We then insert a button to count how many correct answers were selected, and a blank paragraph which will display the number of correct answers once this number is calculated. <input type="button" onclick="myfunction()" value="submit Answers"> <p id="result"></p>

17 More complex example We can now start writing the script to calculate the number of right answers. First, we declare variables which have initial values of true if the radio button containing the right answer for the corresponding question was checked, and false if the radio button was not checked. <script type="text/javascript"> function myfunction() { var q1=document.getelementbyid("correct1").checked; var q2=document.getelementbyid("correct2").checked; var q3=document.getelementbyid("correct3").checked; var q4=document.getelementbyid("correct4").checked;

18 More complex example Now, we go through all these variables, and add 1 to the final score for every variable with value true. var score=0; if (q1==true) {score=score+1;} if (q2==true) {score=score+1;} if (q3==true) {score=score+1;} if (q4==true) {score=score+1;}

19 More complex example Finally, we will display the total score in the blank paragraph with id result. document.getelementbyid("result").innerhtml = "Your score is " + score + " out of 4."; } </script>

20 More complex example This is not the most efficient possible way to create a self-grading quiz, and there are more complex loops and methods which would be more elegant and appropriate for this task. Also, more functionality could be added, like notifications for which questions were gotten wrong, and what the right answers are. This exercise just serves as a brief demo of the few tools we learned.

c. Write a JavaScript statement to print out as an alert box the value of the third Radio button (whether or not selected) in the second form.

c. Write a JavaScript statement to print out as an alert box the value of the third Radio button (whether or not selected) in the second form. Practice Problems: These problems are intended to clarify some of the basic concepts related to access to some of the form controls. In the process you should enter the problems in the computer and run

More information

JavaScript and Dreamweaver Examples

JavaScript and Dreamweaver Examples JavaScript and Dreamweaver Examples CSC 103 October 15, 2007 Overview The World is Flat discussion JavaScript Examples Using Dreamweaver HTML in Dreamweaver JavaScript Homework 3 (due Friday) 1 JavaScript

More information

JavaScript Basics & HTML DOM. Sang Shin Java Technology Architect Sun Microsystems, Inc. sang.shin@sun.com www.javapassion.com

JavaScript Basics & HTML DOM. Sang Shin Java Technology Architect Sun Microsystems, Inc. sang.shin@sun.com www.javapassion.com JavaScript Basics & HTML DOM Sang Shin Java Technology Architect Sun Microsystems, Inc. sang.shin@sun.com www.javapassion.com 2 Disclaimer & Acknowledgments Even though Sang Shin is a full-time employee

More information

HTML Form Widgets. Review: HTML Forms. Review: CGI Programs

HTML Form Widgets. Review: HTML Forms. Review: CGI Programs HTML Form Widgets Review: HTML Forms HTML forms are used to create web pages that accept user input Forms allow the user to communicate information back to the web server Forms allow web servers to generate

More information

Dynamic Web-Enabled Data Collection

Dynamic Web-Enabled Data Collection Dynamic Web-Enabled Data Collection S. David Riba, Introduction Web-based Data Collection Forms Error Trapping Server Side Validation Client Side Validation Dynamic generation of web pages with Scripting

More information

Intell-a-Keeper Reporting System Technical Programming Guide. Tracking your Bookings without going Nuts! http://www.acorn-is.

Intell-a-Keeper Reporting System Technical Programming Guide. Tracking your Bookings without going Nuts! http://www.acorn-is. Intell-a-Keeper Reporting System Technical Programming Guide Tracking your Bookings without going Nuts! http://www.acorn-is.com 877-ACORN-99 Step 1: Contact Marian Talbert at Acorn Internet Services at

More information

LAB MANUAL CS-322364(22): Web Technology

LAB MANUAL CS-322364(22): Web Technology RUNGTA COLLEGE OF ENGINEERING & TECHNOLOGY (Approved by AICTE, New Delhi & Affiliated to CSVTU, Bhilai) Kohka Kurud Road Bhilai [C.G.] LAB MANUAL CS-322364(22): Web Technology Department of COMPUTER SCIENCE

More information

Website Implementation

Website Implementation To host NetSuite s product demos on your company s website, please follow the instructions below. (Note that details on adding your company s contact information to the Contact Us button in the product

More information

JavaScript: Arrays. 2008 Pearson Education, Inc. All rights reserved.

JavaScript: Arrays. 2008 Pearson Education, Inc. All rights reserved. 1 10 JavaScript: Arrays 2 With sobs and tears he sorted out Those of the largest size... Lewis Carroll Attempt the end, and never stand to doubt; Nothing s so hard, but search will find it out. Robert

More information

Upload Center Forms. Contents. Defining Forms 2. Form Options 5. Applying Forms 6. Processing The Data 6. Maxum Development Corp.

Upload Center Forms. Contents. Defining Forms 2. Form Options 5. Applying Forms 6. Processing The Data 6. Maxum Development Corp. Contents Defining Forms 2 Form Options 5 Applying Forms 6 Processing The Data 6 Maxum Development Corp. Put simply, the Rumpus Upload Center allows you to collect information from people sending files.

More information

Technical University of Sofia Faculty of Computer Systems and Control. Web Programming. Lecture 4 JavaScript

Technical University of Sofia Faculty of Computer Systems and Control. Web Programming. Lecture 4 JavaScript Technical University of Sofia Faculty of Computer Systems and Control Web Programming Lecture 4 JavaScript JavaScript basics JavaScript is scripting language for Web. JavaScript is used in billions of

More information

«W3Schools Home Next Chapter» JavaScript is THE scripting language of the Web.

«W3Schools Home Next Chapter» JavaScript is THE scripting language of the Web. JS Basic JS HOME JS Introduction JS How To JS Where To JS Statements JS Comments JS Variables JS Operators JS Comparisons JS If...Else JS Switch JS Popup Boxes JS Functions JS For Loop JS While Loop JS

More information

InPost UK Limited GeoWidget Integration Guide Version 1.1

InPost UK Limited GeoWidget Integration Guide Version 1.1 InPost UK Limited GeoWidget Integration Guide Version 1.1 Contents 1.0. Introduction... 3 1.0.1. Using this Document... 3 1.0.1.1. Document Purpose... 3 1.0.1.2. Intended Audience... 3 1.0.2. Background...

More information

Technical University of Sofia Faculty of Computer Systems and Control. Web Programming. Lecture 5 JavaScript part 2

Technical University of Sofia Faculty of Computer Systems and Control. Web Programming. Lecture 5 JavaScript part 2 Technical University of Sofia Faculty of Computer Systems and Control Web Programming Lecture 5 JavaScript part 2 JAVASCRIPT AND FORMS 11/13/201 4 Assist. Prof. Antonia Tasheva 2 Page Title

More information

IMRG Peermap API Documentation V 5.0

IMRG Peermap API Documentation V 5.0 IMRG Peermap API Documentation V 5.0 An Introduction to the IMRG Peermap Service... 2 Using a Tag Manager... 2 Inserting your Unique API Key within the Script... 2 The JavaScript Snippet... 3 Adding the

More information

Internet Technologies

Internet Technologies QAFQAZ UNIVERSITY Computer Engineering Department Internet Technologies HTML Forms Dr. Abzetdin ADAMOV Chair of Computer Engineering Department aadamov@qu.edu.az http://ce.qu.edu.az/~aadamov What are forms?

More information

Client-side programming with JavaScript. Laura Farinetti Dipartimento di Automatica e Informatica Politecnico di Torino laura.farinetti@polito.

Client-side programming with JavaScript. Laura Farinetti Dipartimento di Automatica e Informatica Politecnico di Torino laura.farinetti@polito. Client-side programming with JavaScript Laura Farinetti Dipartimento di Automatica e Informatica Politecnico di Torino laura.farinetti@polito.it 1 Summary Introduction Language syntax Functions Objects

More information

Implementing Specialized Data Capture Applications with InVision Development Tools (Part 2)

Implementing Specialized Data Capture Applications with InVision Development Tools (Part 2) Implementing Specialized Data Capture Applications with InVision Development Tools (Part 2) [This is the second of a series of white papers on implementing applications with special requirements for data

More information

This matches a date in the MM/DD/YYYY format in the years 2011 2019. The date must include leading zeros.

This matches a date in the MM/DD/YYYY format in the years 2011 2019. The date must include leading zeros. Validating the date format There are plans to adapt the jquery UI Datepicker widget for use in a jquery Mobile site. At the time of this writing, the widget was still highly experimental. When a stable

More information

Web Development 1 A4 Project Description Web Architecture

Web Development 1 A4 Project Description Web Architecture Web Development 1 Introduction to A4, Architecture, Core Technologies A4 Project Description 2 Web Architecture 3 Web Service Web Service Web Service Browser Javascript Database Javascript Other Stuff:

More information

Example. Represent this as XML

Example. Represent this as XML Example INF 221 program class INF 133 quiz Assignment Represent this as XML JSON There is not an absolutely correct answer to how to interpret this tree in the respective languages. There are multiple

More information

In order for the form to process and send correctly the follow objects must be in the form tag.

In order for the form to process and send correctly the follow objects must be in the form tag. Creating Forms Creating an email form within the dotcms platform, all the HTML for the form must be in the Body field of a Content Structure. All names are case sensitive. In order for the form to process

More information

JAVASCRIPT AND COOKIES

JAVASCRIPT AND COOKIES JAVASCRIPT AND COOKIES http://www.tutorialspoint.com/javascript/javascript_cookies.htm Copyright tutorialspoint.com What are Cookies? Web Browsers and Servers use HTTP protocol to communicate and HTTP

More information

Website Login Integration

Website Login Integration SSO Widget Website Login Integration October 2015 Table of Contents Introduction... 3 Getting Started... 5 Creating your Login Form... 5 Full code for the example (including CSS and JavaScript):... 7 2

More information

The McGill Knowledge Base. Last Updated: August 19, 2014

The McGill Knowledge Base. Last Updated: August 19, 2014 The McGill Knowledge Base Last Updated: August 19, 2014 Table of Contents Table of Contents... 1... 2 Overview... 2 Support... 2 Exploring the KB Admin Control Panel Home page... 3 Personalizing the Home

More information

Web Development CSE2WD Final Examination June 2012. (a) Which organisation is primarily responsible for HTML, CSS and DOM standards?

Web Development CSE2WD Final Examination June 2012. (a) Which organisation is primarily responsible for HTML, CSS and DOM standards? Question 1. (a) Which organisation is primarily responsible for HTML, CSS and DOM standards? (b) Briefly identify the primary purpose of the flowing inside the body section of an HTML document: (i) HTML

More information

Custom fields validation

Custom fields validation PDF SHARE FORMS Online, Offline, OnDemand Custom fields validation PDF Share Forms This guide will show how to make custom validation for fields in static AcroForms and Dynamic XFA forms. 1. Static AcroForm

More information

Mobile Web Applications. Gary Dubuque IT Research Architect Department of Revenue

Mobile Web Applications. Gary Dubuque IT Research Architect Department of Revenue Mobile Web Applications Gary Dubuque IT Research Architect Department of Revenue Summary Times are approximate 10:15am 10:25am 10:35am 10:45am Evolution of Web Applications How they got replaced by native

More information

Qualtrics Question API

Qualtrics Question API Qualtrics Question API API subject to change without notice Version: 2010.01.12 Contents Introduction... 2 Functions... 2 disablenextbutton... 2 disablepreviousbutton... 2 enablenextbutton... 3 enablepreviousbutton...

More information

JavaScript Introduction

JavaScript Introduction JavaScript Introduction JavaScript is the world's most popular programming language. It is the language for HTML, for the web, for servers, PCs, laptops, tablets, phones, and more. JavaScript is a Scripting

More information

Insert/Edit Link: Popup Tab

Insert/Edit Link: Popup Tab Overview Note: The information on this page pertains to the old WYSIWYG Editor. For information about the new JustEdit Editor and the JustEdit toolbar, visit the JustEdit page. The Popup tab of the Insert/Edit

More information

Reproductions supplied by EDRS are the best that can be made from the original document.

Reproductions supplied by EDRS are the best that can be made from the original document. DOCUMENT RESUME ED 436 117 IR 019 740 AUTHOR Gray, Patricia TITLE JavaScript: Convenient Interactivity for the Class Web Page. PUB DATE 1999-03-00 NOTE 8p.; In: Proceedings of the Mid-South Instructional

More information

Web Programming Step by Step

Web Programming Step by Step Web Programming Step by Step Lecture 13 Introduction to JavaScript Reading: 7.1-7.4 Except where otherwise noted, the contents of this presentation are Copyright 2009 Marty Stepp and Jessica Miller. Client-side

More information

Client-side Web Engineering From HTML to AJAX

Client-side Web Engineering From HTML to AJAX Client-side Web Engineering From HTML to AJAX SWE 642, Spring 2008 Nick Duan 1 What is Client-side Engineering? The concepts, tools and techniques for creating standard web browser and browser extensions

More information

JavaScript: Introduction to Scripting. 2008 Pearson Education, Inc. All rights reserved.

JavaScript: Introduction to Scripting. 2008 Pearson Education, Inc. All rights reserved. 1 6 JavaScript: Introduction to Scripting 2 Comment is free, but facts are sacred. C. P. Scott The creditor hath a better memory than the debtor. James Howell When faced with a decision, I always ask,

More information

Making Web Application using Tizen Web UI Framework. Koeun Choi

Making Web Application using Tizen Web UI Framework. Koeun Choi Making Web Application using Tizen Web UI Framework Koeun Choi Contents Overview Web Applications using Web UI Framework Tizen Web UI Framework Web UI Framework Launching Flow Web Winsets Making Web Application

More information

HTML Forms. Pat Morin COMP 2405

HTML Forms. Pat Morin COMP 2405 HTML Forms Pat Morin COMP 2405 HTML Forms An HTML form is a section of a document containing normal content plus some controls Checkboxes, radio buttons, menus, text fields, etc Every form in a document

More information

Working with forms in PHP

Working with forms in PHP 2002-6-29 Synopsis In this tutorial, you will learn how to use forms with PHP. Page 1 Forms and PHP One of the most popular ways to make a web site interactive is the use of forms. With forms you can have

More information

FORM-ORIENTED DATA ENTRY

FORM-ORIENTED DATA ENTRY FORM-ORIENTED DATA ENTRY Using form to inquire and collect information from users has been a common practice in modern web page design. Many Web sites used form-oriented input to request customers opinions

More information

2- Forms and JavaScript Course: Developing web- based applica<ons

2- Forms and JavaScript Course: Developing web- based applica<ons 2- Forms and JavaScript Course: Cris*na Puente, Rafael Palacios 2010- 1 Crea*ng forms Forms An HTML form is a special section of a document which gathers the usual content plus codes, special elements

More information

The purpose of jquery is to make it much easier to use JavaScript on your website.

The purpose of jquery is to make it much easier to use JavaScript on your website. jquery Introduction (Source:w3schools.com) The purpose of jquery is to make it much easier to use JavaScript on your website. What is jquery? jquery is a lightweight, "write less, do more", JavaScript

More information

Script Handbook for Interactive Scientific Website Building

Script Handbook for Interactive Scientific Website Building Script Handbook for Interactive Scientific Website Building Version: 173205 Released: March 25, 2014 Chung-Lin Shan Contents 1 Basic Structures 1 11 Preparation 2 12 form 4 13 switch for the further step

More information

GSM Security Camera EYE-02 Publishing pictures from EYE-02 camera on your website

GSM Security Camera EYE-02 Publishing pictures from EYE-02 camera on your website 1 GSM Security Camera EYE-02 Publishing pictures from EYE-02 camera on your website Application Note 2 1. Index 1. Index... 2 2. Introduction... 3 3. Activation of the Alarm Monitor ARC service... 3 4.

More information

<option> eggs </option> <option> cheese </option> </select> </p> </form>

<option> eggs </option> <option> cheese </option> </select> </p> </form> FORMS IN HTML A form is the usual way information is gotten from a browser to a server HTML has tags to create a collection of objects that implement this information gathering The objects are called widgets

More information

WHITEPAPER. Skinning Guide. Let s chat. 800.9.Velaro www.velaro.com info@velaro.com. 2012 by Velaro

WHITEPAPER. Skinning Guide. Let s chat. 800.9.Velaro www.velaro.com info@velaro.com. 2012 by Velaro WHITEPAPER Skinning Guide Let s chat. 2012 by Velaro 800.9.Velaro www.velaro.com info@velaro.com INTRODUCTION Throughout the course of a chat conversation, there are a number of different web pages that

More information

CS412 Interactive Lab Creating a Simple Web Form

CS412 Interactive Lab Creating a Simple Web Form CS412 Interactive Lab Creating a Simple Web Form Introduction In this laboratory, we will create a simple web form using HTML. You have seen several examples of HTML pages and forms as you have worked

More information

Magento 1.4 Theming Cookbook

Magento 1.4 Theming Cookbook P U B L I S H I N G community experience distilled Magento 1.4 Theming Cookbook Jose Argudo Blanco Chapter No. 5 "Going Further Making Our Theme Shine" In this package, you will find: A Biography of the

More information

Reading an email sent with Voltage SecureMail. Using the Voltage SecureMail Zero Download Messenger (ZDM)

Reading an email sent with Voltage SecureMail. Using the Voltage SecureMail Zero Download Messenger (ZDM) Reading an email sent with Voltage SecureMail Using the Voltage SecureMail Zero Download Messenger (ZDM) SecureMail is an email protection service developed by Voltage Security, Inc. that provides email

More information

jquery Tutorial for Beginners: Nothing But the Goods

jquery Tutorial for Beginners: Nothing But the Goods jquery Tutorial for Beginners: Nothing But the Goods Not too long ago I wrote an article for Six Revisions called Getting Started with jquery that covered some important things (concept-wise) that beginning

More information

Completing a Quiz in Moodle

Completing a Quiz in Moodle Completing a Quiz in Moodle Completing a Quiz in Moodle Quizzes are one way that you will be assessed in your online classes. This guide will demonstrate how to interact with quizzes. Never open a quiz

More information

CNAME and Redirection Code Instructions Table of Contents Using a Custom Domain/SubDomain... 3 Specific Provider Instructions... 3 1&1... 3 DNS Park... 4 enom... 4 Eurodns.com... 4 EveryDNS.net... 5 Gandi.net...

More information

Instructions for Embedding a Kudos Display within Your Website

Instructions for Embedding a Kudos Display within Your Website Instructions for Embedding a Kudos Display within Your Website You may use either of two technologies for this embedment. A. You may directly insert the underlying PHP code; or B. You may insert some JavaScript

More information

Lab 5 Introduction to Java Scripts

Lab 5 Introduction to Java Scripts King Abdul-Aziz University Faculty of Computing and Information Technology Department of Information Technology Internet Applications CPIT405 Lab Instructor: Akbar Badhusha MOHIDEEN Lab 5 Introduction

More information

Quick Reference Guide Course Homepage Management (Faculty)

Quick Reference Guide Course Homepage Management (Faculty) Quick Reference Guide Course Homepage Management (Faculty) Table of Contents View Faculty Schedule... 3 Print Faculty Schedule... 3 Create Course Homepage... 3 Add a New Activity to the Course Homepage...

More information

XHTML BASICS. Institute of Finance Management CIT Department Herman Mandari

XHTML BASICS. Institute of Finance Management CIT Department Herman Mandari XHTML BASICS Institute of Finance Management CIT Department Herman Mandari HTML Styles Introduces CSS to HTML The main purposes is to provide a common way to style all HTML elements Examples

More information

Helpful Information is found at this page: http://students.asu.edu/facultycenter

Helpful Information is found at this page: http://students.asu.edu/facultycenter Academic Status Report: The Academic Status Report (ASR) allows you to identify and communicate with students who are performing poorly in class. The system allows you to select specific reasons and corrective

More information

Getting the most from your Google Analytics. Session 4 Extending Google Analytics the role of programming technologies and 3rd-party tools

Getting the most from your Google Analytics. Session 4 Extending Google Analytics the role of programming technologies and 3rd-party tools Session 4 Extending Google Analytics the role of programming technologies and 3rd-party tools Google Analytics information collection A default amount of data is collected for every page visited in a Google

More information

ANGULAR JS SOFTWARE ENGINEERING FOR WEB SERVICES HASAN FAIZAL K APRIL,2014

ANGULAR JS SOFTWARE ENGINEERING FOR WEB SERVICES HASAN FAIZAL K APRIL,2014 ANGULAR JS SOFTWARE ENGINEERING FOR WEB SERVICES HASAN FAIZAL K APRIL,2014 What is Angular Js? Open Source JavaScript framework for dynamic web apps. Developed in 2009 by Miško Hevery and Adam Abrons.

More information

Displaying Your HTML View in a Custom Activity

Displaying Your HTML View in a Custom Activity Displaying Your HTML View in a Custom Activity Workflow Form Contains:» A text field for every piece of data that you plan to pass back to the Workflow model (to be saved in a context parameter).» A local

More information

How-To: Submitting PDF forms to SharePoint from custom websites

How-To: Submitting PDF forms to SharePoint from custom websites How-To: Submitting PDF forms to SharePoint from custom websites Introduction This How-To document describes the process of creating PDF forms using PDF Share Forms tools, and posting the form on a non-sharepoint

More information

CGI Programming. What is CGI?

CGI Programming. What is CGI? CGI Programming What is CGI? Common Gateway Interface A means of running an executable program via the Web. CGI is not a Perl-specific concept. Almost any language can produce CGI programs even C++ (gasp!!)

More information

CSC309 Winter 2016 Lecture 3. Larry Zhang

CSC309 Winter 2016 Lecture 3. Larry Zhang CSC309 Winter 2016 Lecture 3 Larry Zhang 1 Why Javascript Javascript is for dynamically manipulate the front-end of your web page. Add/remove/change the content/attributes of an HTML element Change the

More information

Table of Contents. Overview... 2. Supported Platforms... 3. Demos/Downloads... 3. Known Issues... 3. Note... 3. Included Files...

Table of Contents. Overview... 2. Supported Platforms... 3. Demos/Downloads... 3. Known Issues... 3. Note... 3. Included Files... Table of Contents Overview... 2 Supported Platforms... 3 Demos/Downloads... 3 Known Issues... 3 Note... 3 Included Files... 5 Implementing the Block... 6 Configuring The HTML5 Polling Block... 6 Setting

More information

Configuring IBM WebSphere Application Server 7.0 for Web Authentication with SAS 9.3 Web Applications

Configuring IBM WebSphere Application Server 7.0 for Web Authentication with SAS 9.3 Web Applications Configuration Guide Configuring IBM WebSphere Application Server 7.0 for Web Authentication with SAS 9.3 Web Applications Configuring the System for Web Authentication This document explains how to configure

More information

are done) Google Drive OR sign Pg.1

are done) Google Drive OR sign Pg.1 Steps for Creating a Google Form 1. Open CHROME to browse the internet. 2. Create a Google account. (If you have a gmail account, then you are done) Go to website: https://accounts.google.com/signup If

More information

Complete this module and Complete the JavaScript module at http://www.w3sschools.com

Complete this module and Complete the JavaScript module at http://www.w3sschools.com JavaScript Introduction JavaScript An object-oriented scripting language, commonly used in html pages, to provide dynamism or forms of dynamism not supported by html. JavaScript is not Java. We ll use

More information

RSS Feeds - Content Syndication Feed2JS: a simple solution to display RSS feeds

RSS Feeds - Content Syndication Feed2JS: a simple solution to display RSS feeds EUROPEAN COMMISSION DIRECTORATE-GENERAL INFORMATICS Directorate A - Corporate IT Solutions & Services Corporate Infrastructure Solutions for Information Systems (LUX) RSS Feeds - Content Syndication Feed2JS:

More information

AJAX with jquery. ACM Webmonkeys 2011

AJAX with jquery. ACM Webmonkeys 2011 AJAX with jquery ACM Webmonkeys 2011 What is AJAX? AJAX is a technology used to facilitate real-time data changes and updates on a page without requiring a page reload. AJAX stands for Asynchronous Javascript

More information

HT H ML B as a ics c 1

HT H ML B as a ics c 1 HTML Basics 1 What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language, it is a markup language A markup language is a set

More information

Learning Management System

Learning Management System User Manual for Faculty Members Learning Management System Adding Course Materials (Resources) Manal Al Shehri 1/8/2014 Contents Resource... 2 How to add Book... 3 How to add file... 7 How to add Folder...

More information

Circulation. o Check Out receipts printed after a patron checks items out. o Check in receipts printed after items are checked in.

Circulation. o Check Out receipts printed after a patron checks items out. o Check in receipts printed after items are checked in. RECEIPT TEMPLATE MANAGER OVERVIEW The interface for customizable receipts is located in Tools > Receipt Template Manager. This feature is turned on/off using the UseReceiptTemplates system preference.

More information

How to Create an HTML Page

How to Create an HTML Page This is a step-by-step guide for creating a sample webpage. Once you have the page set up, you can add and customize your content using the various tags. To work on your webpage, you will need to access

More information

Tutorial 6 Creating a Web Form. HTML and CSS 6 TH EDITION

Tutorial 6 Creating a Web Form. HTML and CSS 6 TH EDITION Tutorial 6 Creating a Web Form HTML and CSS 6 TH EDITION Objectives Explore how Web forms interact with Web servers Create form elements Create field sets and legends Create input boxes and form labels

More information

Online Multimedia Winter semester 2015/16

Online Multimedia Winter semester 2015/16 Multimedia im Netz Online Multimedia Winter semester 2015/16 Tutorial 12 Major Subject Ludwig-Maximilians-Universität München Online Multimedia WS 2015/16 - Tutorial 12-1 Today s Agenda Imperative vs.

More information

How to Create Dynamic HTML and Javascript using your Data Jennifer Sinodis, Bank One, Phoenix, AZ

How to Create Dynamic HTML and Javascript using your Data Jennifer Sinodis, Bank One, Phoenix, AZ Paper 187-26 How to Create Dynamic HTML and Javascript using your Data Jennifer Sinodis, Bank One, Phoenix, AZ ABSTRACT With increasing information technology the Internet/Intranet offers an accessible

More information

07 Forms. 1 About Forms. 2 The FORM Tag. 1.1 Form Handlers

07 Forms. 1 About Forms. 2 The FORM Tag. 1.1 Form Handlers 1 About Forms For a website to be successful, it is important to be able to get feedback from visitors to your site. This could be a request for information, general comments on your site or even a product

More information

AJAX The Future of Web Development?

AJAX The Future of Web Development? AJAX The Future of Web Development? Anders Moberg (dit02amg), David Mörtsell (dit01dml) and David Södermark (dv02sdd). Assignment 2 in New Media D, Department of Computing Science, Umeå University. 2006-04-28

More information

WEB DESIGN LAB PART- A HTML LABORATORY MANUAL FOR 3 RD SEM IS AND CS (2011-2012)

WEB DESIGN LAB PART- A HTML LABORATORY MANUAL FOR 3 RD SEM IS AND CS (2011-2012) WEB DESIGN LAB PART- A HTML LABORATORY MANUAL FOR 3 RD SEM IS AND CS (2011-2012) BY MISS. SAVITHA R LECTURER INFORMATION SCIENCE DEPTATMENT GOVERNMENT POLYTECHNIC GULBARGA FOR ANY FEEDBACK CONTACT TO EMAIL:

More information

Javascript for beginners

Javascript for beginners Javascript for beginners Copyright Martin Baier Translated from the German by Linda L. Gaus Copyright 2000 Author and KnowWare Acrobat Reader: How to... F5/F6 open/closes bookmarks - F4 open/closes thumbnails

More information

ecommercesoftwareone Advance User s Guide -www.ecommercesoftwareone.com

ecommercesoftwareone Advance User s Guide -www.ecommercesoftwareone.com Advance User s Guide -www.ecommercesoftwareone.com Contents Background 3 Method 4 Step 1 - Select Advance site layout 4 Step 2 - Identify Home page code of top/left and bottom/right sections 6 Step 3 -

More information

JavaScript By: A. Mousavi & P. Broomhead SERG, School of Engineering Design, Brunel University, UK

JavaScript By: A. Mousavi & P. Broomhead SERG, School of Engineering Design, Brunel University, UK Programming for Digital Media EE1707 JavaScript By: A. Mousavi & P. Broomhead SERG, School of Engineering Design, Brunel University, UK 1 References and Sources 1. DOM Scripting, Web Design with JavaScript

More information

Viewing Web Pages In Python. Charles Severance - www.dr-chuck.com

Viewing Web Pages In Python. Charles Severance - www.dr-chuck.com Viewing Web Pages In Python Charles Severance - www.dr-chuck.com What is Web Scraping? When a program or script pretends to be a browser and retrieves web pages, looks at those web pages, extracts information

More information

Overview. In the beginning. Issues with Client Side Scripting What is JavaScript? Syntax and the Document Object Model Moving forward with JavaScript

Overview. In the beginning. Issues with Client Side Scripting What is JavaScript? Syntax and the Document Object Model Moving forward with JavaScript Overview In the beginning Static vs. Dynamic Content Issues with Client Side Scripting What is JavaScript? Syntax and the Document Object Model Moving forward with JavaScript AJAX Libraries and Frameworks

More information

Introduction to Web Design Curriculum Sample

Introduction to Web Design Curriculum Sample Introduction to Web Design Curriculum Sample Thank you for evaluating our curriculum pack for your school! We have assembled what we believe to be the finest collection of materials anywhere to teach basic

More information

3M Information Technology

3M Information Technology 3M Information Technology IT Customer Relationship Management Applications Web Services Toolkit User Guide Custom Web Lead Capture Submit Lead Last Updated: 23-FEB-07 Page 1 of 33 (Last Modified: 2/24/2007

More information

FedTraveler.com. Log o FedTraveler.com using your valid Member ID and PIN.

FedTraveler.com. Log o FedTraveler.com using your valid Member ID and PIN. FedTraveler.com Log o FedTraveler.com using your valid Member ID and PIN. Page 3 / 38 FedTraveler.com S een will refresh to Organizer page Page 4 / 38 Organizer 3. On he Organizer Page, click the link

More information

jquery JavaScript Made Easy

jquery JavaScript Made Easy jquery JavaScript Made Easy jquery in the Wild Bank of America Intuit Google NBC Slashdot Sourceforge Warner Bros. Records Newsweek Trac mozdev Drupal PEAR Zend Framework WordPress SPIP Symfony jquery

More information

Login with Amazon. Getting Started Guide for Websites. Version 1.0

Login with Amazon. Getting Started Guide for Websites. Version 1.0 Login with Amazon Getting Started Guide for Websites Version 1.0 Login with Amazon: Getting Started Guide for Websites Copyright 2016 Amazon Services, LLC or its affiliates. All rights reserved. Amazon

More information

Introduction to XHTML. 2010, Robert K. Moniot 1

Introduction to XHTML. 2010, Robert K. Moniot 1 Chapter 4 Introduction to XHTML 2010, Robert K. Moniot 1 OBJECTIVES In this chapter, you will learn: Characteristics of XHTML vs. older HTML. How to write XHTML to create web pages: Controlling document

More information

Further web design: HTML forms

Further web design: HTML forms Further web design: HTML forms Practical workbook Aims and Learning Objectives The aim of this document is to introduce HTML forms. By the end of this course you will be able to: use existing forms on

More information

Web Content Management System Powered by Ajax

Web Content Management System Powered by Ajax Web Content Management System Powered by Ajax Carl-Ola Boketoft April 8, 2010 Master s Thesis in Computing Science, 30 credits Supervisor at CS-UmU: Håkan Gulliksson Examiner: Per Lindström Umeå University

More information

Integration Guide. Integrating Extole with Adobe Target. Overview. Before You Begin. Advantages of A/B Testing

Integration Guide. Integrating Extole with Adobe Target. Overview. Before You Begin. Advantages of A/B Testing Integrating Extole with Adobe Target Overview Extole partners with Adobe Target so that marketers can easily deploy Extole tags and test your referral program to improve its performance. A/B testing will

More information

PHP Form Handling. Prof. Jim Whitehead CMPS 183 Spring 2006 May 3, 2006

PHP Form Handling. Prof. Jim Whitehead CMPS 183 Spring 2006 May 3, 2006 PHP Form Handling Prof. Jim Whitehead CMPS 183 Spring 2006 May 3, 2006 Importance A web application receives input from the user via form input Handling form input is the cornerstone of a successful web

More information

Website Planning Checklist

Website Planning Checklist Website Planning Checklist The following checklist will help clarify your needs and goals when creating a website you ll be surprised at how many decisions must be made before any production begins! Even

More information

Parent Single Sign-On Quick Reference Guide

Parent Single Sign-On Quick Reference Guide Parent Single Sign-On Quick Reference Guide Parent Single Sign-On, introduced in PowerSchool 6.2, offers a number of benefits, including access to multiple students with one sign in, a personalized account

More information

EXCEED IEP Goals Product Screen

EXCEED IEP Goals Product Screen The Goals product screen is used when you need to document the goals the student will be working towards during the course of their IEP. The Events screen displays with the Current and Upcoming Events

More information

English. Asema.com Portlets Programmers' Manual

English. Asema.com Portlets Programmers' Manual English Asema.com Portlets Programmers' Manual Asema.com Portlets : Programmers' Manual Asema Electronics Ltd Copyright 2011-2013 No part of this publication may be reproduced, published, stored in an

More information

7 The Shopping Cart Module

7 The Shopping Cart Module 7 The Shopping Cart Module In the preceding chapters you ve learned how to set up the Dynamicweb Product Catalog module, which is a core part of any Dynamicweb ecommerce site. If your site s goal is to

More information

Finding XSS in Real World

Finding XSS in Real World Finding XSS in Real World by Alexander Korznikov nopernik@gmail.com 1 April 2015 Hi there, in this tutorial, I will try to explain how to find XSS in real world, using some interesting techniques. All

More information