Skip to Content
JavaScript: 20 Lessons to Successful Web Development
book

JavaScript: 20 Lessons to Successful Web Development

by Robin Nixon
January 2015
Beginner content levelBeginner
256 pages
6h 26m
English
McGraw-Hill
Content preview from JavaScript: 20 Lessons to Successful Web Development

Images

Inserting Inline JavaScript and Events

image

         To view the accompanying video for this lesson, please visit mhprofessional.com/nixonjavascript/.

Sometimes the easiest way to achieve dynamic interaction with users of your web pages is to directly interact with them from the code they are using. So far we have mostly looked at running JavaScript from within <script> elements, but that is not the only way you can use it.

For example, it’s quite legal to place JavaScript instructions inside elements, and you generally do this by attaching them to ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

CSS & CSS3: 20 Lessons to Successful Web Development

CSS & CSS3: 20 Lessons to Successful Web Development

Robin Nixon

Publisher Resources

ISBN: 9780071841573