InterviewSolution
| 1. |
What Is 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. 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. |
|