JavaScript
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. “click”). 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
Comments are closed.