Well, Javascript is Turing-complete, so we’re safe using it for any browser-related issue we may face, aren’t we?

I would fairly disagree, as driven by powerful frameworks Javascript is used also for implementations that are meantime within the domains of CSS3 and HTML5. So I use Javascript basically to

  • change styles on events not supported by CSS (e.g. “onclick”). Javascript representations of the CSS attributes differ from their native CSS names if they contain a hyphen as Javascript always interprets it as a minus symbol (so you need a CSS to Javascript style mapping legend) or apply the rule “remove the hyphen and camel case”
  • handle AJAX requests and responses
  • manage browser windows and links
Leave a comment


Leave a Reply

( Ctrl + Enter )