Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


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

Chapter 8. JavaScript Mobile > Coding JavaScript for Mobile Browsers

8.2. Coding JavaScript for Mobile Browsers

First of all, let’s see what is happening with basic JavaScript compatibility (variables, functions and basic alert functionality) with mobile browsers. Table 8-1 illustrates the current levels of support on the different platforms.

Table 8-1. JavaScript support compatibility table
Browser/platformJavaScript support
SafariYes
Android browserYes
Symbian/S60Yes
Nokia Series 40Yes
webOSYes
BlackBerryYes from 3.8 Can be disabled by the user or the company; in that case, noscript is executed
NetFrontYes
Openwave (Myriad)Not available in Openwave; yes in Myriad Browser V7
Internet ExplorerYes
Motorola Internet BrowserYes
Opera MobileYes
Opera MiniYes, but everything after the onload script will be executed on the server, generating a postback



  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial