Results 1 to 5 of 5

What is Unobtrusive JavaScript?

This is a discussion on What is Unobtrusive JavaScript? within the Programming forums, part of the Web Designing & Development category; Unobtrusive JavaScript is a general term that conveys a general philosophy, similar to the term REST (Representational State Transfer). The ...

  1. #1
    Senior Member chinmay.sahoo's Avatar
    Join Date
    Dec 2013
    Location
    Banglore
    Posts
    266

    Thumbs up What is Unobtrusive JavaScript?

    Unobtrusive JavaScript is a general term that conveys a general philosophy, similar to the term REST (Representational State Transfer). The high-level description is that unobtrusive JavaScript doesn't intermix JavaScript code in your page markup. For example, rather than hooking in via event attributes like onclick and onsubmit, the unobtrusive JavaScript attaches to elements by their ID or class, often based on the presence of other attributes (such as HTML5 data-attributes)

  2. #2
    Senior Member
    Join Date
    Aug 2015
    Posts
    302

    Default Re: What is Unobtrusive JavaScript?

    Thanks for sharing information.

  3. #3
    Senior Member
    Join Date
    Jan 2016
    Posts
    145

    Default Re: What is Unobtrusive JavaScript?

    Hey,
    Unobtrusive JavaScript is a general method to the use of JavaScript in web pages.It’s the best practice to avoid the problems of traditional JavaScript programming.

  4. #4
    Senior Member
    Join Date
    Jan 2012
    Posts
    1,894

    Default Re: What is Unobtrusive JavaScript?

    Unobtrusive JavaScript is a general approach to the use of JavaScript in web pages. Though the term is not formally defined, its basic principles are generally understood to include: Separation of functionality (the "behavior layer") from a Web page's structure/content and presentation.

  5. #5
    Member
    Join Date
    Dec 2015
    Location
    Guangzhou,China,51000
    Posts
    85

    Default Re: What is Unobtrusive JavaScript?

    Unobtrusive JavaScript is a best practice methodology for attaching JavaScript to the front-end of a website.

Tags for this Thread