MVC Developer Question:

Download Job Interview Questions and Answers PDF

Explain me the meaning of Unobtrusive JavaScript?

MVC Developer Interview Question
MVC Developer Interview Question

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 Interview Questions And Answers PDF

Previous QuestionNext Question
Please explain what does Model, View and Controller represent in an MVC application?Explain me what is the significance of NonActionAttribute?