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

Chapter 18. JavaScript and User Input > JavaScript for Redirection and Frames

JavaScript for Redirection and Frames

You’ve seen how to access and alter some of the main objects of the DOM, and you’ve seen how to verify form data and use JavaScript to alter form data and for client-side processing. In this section, let’s take a quick look at some other little JavaScript tricks, including redirecting a browser, building links in JavaScript, and using JavaScript with frames.

Browser Redirection

It can be useful to figure out which browser your user is using and redirect that user to a particular page. Not only is it sometimes important to know if the browser is Internet Explorer, Netscape, or another brand, but you can also use browser redirection to determine whether or not a browser supports JavaScript and make sure your user automatically visits the appropriate page.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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