• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 14. Scripting and DHTML > Client-Side Scripting

Client-Side Scripting

Client-side scripting refers to a computer program embedded into a Web page. The code for this program is interpreted and executed by the viewer's browser. The client-side qualifier is necessary when talking about this type of scripting because there are also scripts that are processed on the server, such as with Active Server Pages (ASP). While server-side scripts are great for processing forms and dynamically creating data-driven pages, they are, for the most part, used only to generate the initial HTML code for a page. A client-side script runs once the page is loaded into the visitor's browser and is capable of dynamically changing and responding to the page while it is being viewed.

Client-side scripts can range from simple to very, very complex—although they tend to be kept fairly small simply because large scripts increase the amount of time it takes to load a page. Client-side scripts are most commonly used for some of these tasks:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint