MVC Developer Question:
Explain me the meaning of Unobtrusive JavaScript?
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.
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.
Previous Question | Next Question |
Please explain what does Model, View and Controller represent in an MVC application? | Explain me what is the significance of NonActionAttribute? |