Manisha Awasthi
Manisha Awasthi

Reputation: 479

Creating external Javascript Libraries

How can I create external Javascript libraries which i can use in my web application project created in Visual studio?

Upvotes: 3

Views: 416

Answers (1)

Shraddha
Shraddha

Reputation: 2335

You can create library simply as a file, saved with the extension .js, that contains some JavaScript code.

Add a < script > tag, defined on the page(s) that uses the library, used to "connect" to the library

If library name is displaydate.js

You can include it in your code with this tag < script src="displaydate.js" >

Refer: http://www.javascriptkit.com/javatutors/external2.shtml

Upvotes: 3

Related Questions