Part 87 What is Unobtrusive JavaScript




Link for code samples used in the demo
http://csharp-video-tutorials.blogspot.com/2013/09/part-87-what-is-unobtrusive-javascript.html

Link for csharp, asp.net, ado.net, dotnet basics, mvc and sql server video tutorial playlists
http://www.youtube.com/user/kudvenkat/playlists

What is Unobtrusive JavaScript?
Unobtrusive JavaScript, is a JavaScript that is separated from the web site’s html markup. There are several benefits of using Unobtrusive JavaScript. Separation of concerns i.e the HTML markup is now clean without any traces of javascript. Page load time is faster. It is also easy to update the code as all the Javascript logic is present in a separate file. We also get, better cache support, as all our JavaScript is now present in a separate file, it can be cached and accessed much faster.

Original source


15 responses to “Part 87 What is Unobtrusive JavaScript”

  1. Mr.kudffvenkat, we normally write javascript in a seperate file and link it to the index.html…well that becomes unobtrusive JavaScript right???……why specially u use jquery???? to become obtrusive do we use jquery rather than Javascript

  2. Hi Varsha, In the description of this video, I have included the link for ASP .NET, C#, MVA and SQL Server playlists. All the videos are arranged in logical sequence in these playlists, which could be useful to you. In the MVC playlist, you can find all the MVC videos. Please share the link with your friends. If you like these videos, please click on the THUMBS UP button below the video. For email alerts, when new videos are uploaded, you may subscribe to my channel.

Leave a Reply