• Post Reply Bookmark Topic Watch Topic
  • New Topic

Javascript file inclusion  RSS feed

 
Swapnil Sanghai
Ranch Hand
Posts: 42
Java Oracle Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not able to see content of the javascript in html file when i include javascript file into the HTML file using src attribute in the tag <Script>
 
Tapas Chand
Ranch Hand
Posts: 614
9
BSD Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you post relevant HTML file content.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66207
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Without the code...



But...

Swapnil Sanghai wrote:I am not able to see content of the javascript in html file

What do you mean by "see"? Certainly, the JavaScript code isn't copied into the HTML source. Is that what you are expecting? If so, that's not what happens. The code is loaded from the Javascript file by the browser -- it never becomes part of the original HTML.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!