MVC Developer Question:

Explain me the meaning of Unobtrusive JavaScript?

Tweet Share WhatsApp

Answer:

This is a general term that conveys a general philosophy, similar to the term REST (Representational State Transfer). Unobtrusive JavaScript doesn't intermix JavaScript code in your page markup.

Eg : Instead of using events like onclick and onsubmit, the unobtrusive JavaScript attaches to elements by their ID or class based on the HTML5 data- attributes.

Download MVC Developer PDF Read All 50 MVC Developer Questions
Previous QuestionNext Question
Please explain what does Model, View and Controller represent in an MVC application?Explain me what is the significance of NonActionAttribute?