Add Reference of jQuery Files in Custom js File

In this article I am sharing my thoughts on adding a reference file to a solution to get the functionality of a specific .js file.

Its very simple, you need to create a simple ASP.Net application that requires a jQuery script file. jQuery provides you ample functions to create impressive animations and interactions. I would try to demonstrate to my technology geeks, how to create a custom jQuery function. I hope it would be helpful for those who are keen to create and take advantage of this. I've created a MVC sample application that I won't explore here ,however my main focus is to add a reference file on demand.

Here we go. For the first look of the "MyCustomJquery.js" file that has been added to the solution:

jquery1.jpg

There is no intellisence present in the image shown above, I believe that any individual is not so familiar with how many functions/methods are present in any jQuery library, to do this I'll add the required reference .js file at the top of the code in the "MyCustomJquery.js" file. Look at the following image and the benefits of adding this. Kindly add these files into your solution first.

jquery2.jpg

This is how you can take advantage of this feature goodness.

Note:

jquery3.jpg

Up Next
    Ebook Download
    View all
    Learn
    View all