Include files in .NET

  • Thread starter Thread starter Colm
  • Start date Start date
C

Colm

Hi,

Does anyone know the syntax to include a .js file in an
ASPX page.

Colm
 
The syntax hasn't changed from old ASP.

Here's the HTML to include some client side javascript on your page:
<script language="JavaScript" src="/myjsSubDir/mycode.js"></script>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top