JavaScript: JavaScript Programming.A Step-by-Step Guide for Absolute Beginners by Brian Jenkins

JavaScript: JavaScript Programming.A Step-by-Step Guide for Absolute Beginners by Brian Jenkins

Author:Brian Jenkins [Brian Jenkins]
Language: eng
Format: epub, pdf
Published: 2019-02-24T16:00:00+00:00


Just type your name in lowercase and move the mouse cursor from the input field by clicking outside. You will notice that your name will be transformed into uppercase:

The upperCase() method is invoked after the user has changed the content of the input field.

onload

When used, it displays an alert box after a page has been loaded. For example:

< html>

< head>

< script>

function displayMessage() {

alert ( "A message by the onload event" );

}

</ script>

</ head>

< body onload = "displayMessage()" >

</ body>

</ html>

Once the page has been loaded, you will get the following alert box:



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.