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

Part III: JavaScript and Other Applicati... > Using ASP with JavaScript

Chapter 15. Using ASP with JavaScript

CONTENTS>>

In this book, JavaScript has been examined as a client-side scripting language, and in this chapter it will continue to be so. As with PHP, discussed in Chapter 14, “Using PHP with JavaScript,” the role of JavaScript is that of a preprocessor in dealing with Active Server Pages (ASP). Before data are sent to a back-end or server-side script, you want to make sure that the data entered are what you want. If your data are examined by a server-side script, a good deal of bandwidth is wasted as messages are passed back and forth between the client’s browser and the server. However, if JavaScript makes sure that the data are clean, then all of the preprocessing is done in the client’s browser, with nothing wasted in between.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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