Chapter 6
Dynamic User Interface with JavaScript
With an active page technology like PHP, we can add dynamism for webpages on the server side by generating code that is computed or program controlled at the time of page delivery. We have seen some of it in Chapter 5 and we will see much more in later chapters.
On the client side, dynamism for a webpage means a responsive user interface that interacts well with user/browser actions. Such interactions can enhance the functionality and usability of displayed pages and are achieved with JavaScript, a standard scripting language to control browser actions as well as all parts of a webpage.
JavaScript programs associated with a webpage are loaded into a browser together with its HTML and CSS code. ...
Get Dynamic Web Programming and HTML5 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.