wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes What is Obtrusive Javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "What is Obtrusive Javascript" Watch "What is Obtrusive Javascript" New topic
Author

What is Obtrusive Javascript

sadagi korbu
Greenhorn

Joined: Aug 16, 2006
Posts: 21
Hi

Can anyone explain me , "What is Obtrusive Javascript" and where is it used? If there is some useful online link available, please share.

Sadagi
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61095
    
  66

Did you mean "Unobtrusive JavaScript"?

If so, it's the technique where JavaScript is not mixed into the HTML markup, but is completely sequestered in the header and in external JS files. It's the same idea as using CSS for styling, moving style out of the markup and into stylesheets.

In this way the three parts of each page: structure, style and behavior are separated and not all munged together in the markup.

You can do it without the help of any library, but libraries such as jQuery make it easier to accomplish.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
sadagi korbu
Greenhorn

Joined: Aug 16, 2006
Posts: 21
Thanks, You cleared my doubt.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What is Obtrusive Javascript