| 1. |
What Is The Meaning Of Unobtrusive Javascript? Explain Us By Any Practical Example? |
|
Answer» This is a general term that conveys a general philosophy, similar to the term REST (Representational State TRANSFER). Unobtrusive JavaScript doesn't inter mix 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 inter mix 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. |
|