I came across this concept while reading “JQuery in Action”. I am on chapter 1 and the language and explanations given are excellent. (i.e. once can easily understand)

My understanding for it is:

It is a way to separate the behavior from the structure. Instead of clubbing the event behavior within HTML tags, we can use JQuery selectors to select the HTML element and apply the event behavior through script.

According to the principles of  Unobtrusive JavaScript:

“Any JavaScript expressions or statements embedded in the <body> of
HTML pages, either as attributes of HTML elements (such as onclick) or in script
blocks placed within the body of the page, are considered as correct.”

 

Unobtrusive JavaScript, though a powerful technique to further add to the
clear separation of responsibilities within a web application, doesn’t come without
its price. Unobtrusive JavaScript not only may increase the amount of script that needs to be written, but also requires some discipline and the application of good coding patterns to the client-side script.

Thoughts on Life, Events and Current Happenings
Sandeep Joshi
Enterprise agility ✔ Engineering Excellence ✔ DevOps ✔ Data Science, IOT, RPA and Cognitive
An accomplished agile leader with a successful track record for building high growth engineering organizations, transforming traditional teams to be agile and scaling operations.

A change leader with rich experience in defining enterprise vision, strategy in alignment with business roadmap, articulating to “C” level executives, and taking charge for end to end delivery (inception to design to deploy and support).

Known for delivery excellence, product focus and technical leadership. An enterprise products guy who enjoys putting disruptive technology and tools to transform legacy teams.

Interests

IT Directions | Strategy | Innovation | Design thinking
Agile transformations | Coaching | Scaling
DevOps | Continuous delivery | Application Lifecycle
Lean Product Management | Program Management
IT Leadership | Strategy | Innovation | Mentoring
High Scale Enterprise Architecture | API Development
Cloud Computing (Azure, AWS, Private Cloud)
Containers | Microservices | Test Automation
Data Analytics | Machine Learning | Cognitive
Audit, Compliance and Data Privacy (SOX, PCI)

Share this:

Leave a Reply

Your email address will not be published. Required fields are marked *