Site Search:
Sign in | Join | Help
4Penny.net

Javascript

Stuff that everyone needs to know about Javascript

Include Javascript in a project

I went to a greate Microsoft MSDN event last week, and as usual, Russ (www.russtoolshed.com) was excellent. One of the tips that he gave had to do with stepping through Javascript in Visual Studio 2005. I haven't been able to get it to work, but one of the things that had to be done was to include the JS in a separate file, not in the main .aspx page. This piece of code will do the include for you:

<script type="text/javascript" src="~JobProgress.js"></script>

 

As always, your comments are welcome.

Published Jun 11 2007, 12:04 PM by Steve Gray
Filed under:

Comments

No Comments

Leave a Comment

(required)  
(optional)
(required)  
Add

About Steve Gray

Steve is a seasoned (translate: old) developer in VB and ASP.NET. He spends most of his time in Dynamics GP, writing custom mods for consulting firms. Crystal reports, eConnect, VS Tools for Dynamics... anything that comes along.